michael kapelko wrote:
version 2.6.4
_________

Which generator are you using?

the msys one does not use link scripts, but the migw one does. You might want to try the mingw one. Or if you want to edit CMake source, you could try changing the msys one to use a link script:


cmGlobalMSYSMakefileGenerator::cmGlobalMSYSMakefileGenerator()
{
  this->FindMakeProgramFile = "CMakeMSYSFindMake.cmake";
  this->ForceUnixPaths = true;
  this->ToolSupportsColor = true;
  this->UseLinkScript = false;  // change this to true
}


I can not remember why the msys one does not use the link scripts. Even with link scripts there are command line limits, so you might have to re-factor your code to use more than one library.


-Bill

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to