You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starting from release 9.2.0, both editions of TDM-GCC come with a windows-default-manifest package. If you install it (which is recommended)
Recommended doesn't sound like mandatory, so I didn't install it. Now, strange things happen:
Compiling an exe - without a windows-default-manifest package
C:\test>g++.exe exe.cc
c:/compiler/bin/../lib/gcc/x86_64-w64-mingw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find default-manifest.o: No such file or directory
collect2.exe: error: ld returned 1 exit status
The error message is not very clear. I'd expected the compiler to succeed and just not add a manifest. I also didn't find a way to disable the manifest.
Compiling a dll - without a windows-default-manifest package
C:\test>g++.exe dll.cc -shared
It works, no manifest. Great.
Compiling an exe - with a windows-default-manifest package
It works and a manifest is added. What if I don't want it?
Compiling a dll - with a windows-default-manifest package
It works and a manifest is not added. What if I do want it?
The text was updated successfully, but these errors were encountered:
In the README you say:
Recommended doesn't sound like mandatory, so I didn't install it. Now, strange things happen:
Compiling an exe - without a
windows-default-manifest
packageThe error message is not very clear. I'd expected the compiler to succeed and just not add a manifest. I also didn't find a way to disable the manifest.
Compiling a dll - without a
windows-default-manifest
packageIt works, no manifest. Great.
Compiling an exe - with a
windows-default-manifest
packageIt works and a manifest is added. What if I don't want it?
Compiling a dll - with a
windows-default-manifest
packageIt works and a manifest is not added. What if I do want it?
The text was updated successfully, but these errors were encountered: