[CMake] mingw32 linker line exceeds win32 limitations

Felix Obenhuber f.obenhuber at osb-ag.de
Thu Dec 20 13:24:17 EST 2007


On Do, 2007-12-20 at 12:12 -0500, Brad King wrote:
> Felix Obenhuber wrote:
> CMake uses a "link script" approach to avoid placing the entire link
> line in the makefile.  It is enabled on certain generators (including
> MinGW) and used for linking libraries but has not been yet needed for
> executables.  Is the target for which you're having problems a library
> or an executable target?

It's an executable target. 

I've solved the issue the way I've put almost all objects into a lib and
linked the rest against. That's work. Thanks for your answer: Now I know
why...

Is there any reason, the link script is not used for binaries? We've got
lots of files ;-)...

Felix



More information about the CMake mailing list