Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » Exported makefiles don't treat WIN32 flag correctly
Exported makefiles don't treat WIN32 flag correctly [message #26085] |
Wed, 31 March 2010 00:26 |
|
Hello!
I just found, that if you export Makefile for ide, it contains commands that lead to compiling with plugin/z, which is specified as WIN32 only. It also links with -lz, which is !WIN32, so in the end, there is the same code, linked twice, once statically and one shared.
Not sure which version is used at runtime, but it doesn't cause any problems as far as I know. Just some unnecessary code is linked... I found this totally random, when inspecting why lintian reports statically linked zlib, while I knew it should be linked as shared.
The same problem might occur for other flags or in other situations, leading to more serious consequences... So I think this is more bug than a feature, is that right?
Best regards,
Honza
|
|
|
|
Goto Forum:
Current Time: Sat Apr 20 08:26:53 CEST 2024
Total time taken to generate the page: 2.03619 seconds
|