Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document/implement a way to disable manifest #4

Open
justanotheranonymoususer opened this issue Aug 15, 2021 · 0 comments
Open

Document/implement a way to disable manifest #4

justanotheranonymoususer opened this issue Aug 15, 2021 · 0 comments

Comments

@justanotheranonymoususer

In the README you say:

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant