View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006192CMakeCCMakepublic2007-12-21 03:412007-12-28 15:00
ReporterFelix 
Assigned ToBrad King 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0006192: mingw32-make complains about too long linker; cmd.exe doesn't support longer lines that 2048 chars
DescriptionOn win32 systems linking failed cause the command line passed to cmd.exe is too long and exceeds cmd.exes poor maximum length. The reason is that the line get's too long cause a huge amount of object files.

The link script feature of CMake for linking static libs with lots of objects isn't yet adopted to the linking process of binaries.

CMake Version: 2.4.7
Mingw Version: 5.1.3
Additional InformationWorkarround:

Link almost all objects into a static lib and link that lib againt the remaining objs.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0010030)
Brad King (manager)
2007-12-28 15:00

I've fixed this in CMake CVS:

/cvsroot/CMake/CMake/Source/cmMakefileExecutableTargetGenerator.cxx,v <-- cmMakefileExecutableTargetGenerator.cxx
new revision: 1.39; previous revision: 1.38
/cvsroot/CMake/CMake/Source/cmMakefileLibraryTargetGenerator.cxx,v <-- cmMakefileLibraryTargetGenerator.cxx
new revision: 1.50; previous revision: 1.49
/cvsroot/CMake/CMake/Source/cmMakefileTargetGenerator.cxx,v <-- cmMakefileTargetGenerator.cxx
new revision: 1.80; previous revision: 1.79
/cvsroot/CMake/CMake/Source/cmMakefileTargetGenerator.h,v <-- cmMakefileTargetGenerator.h
new revision: 1.18; previous revision: 1.17

 Issue History
Date Modified Username Field Change
2007-12-21 03:41 Felix New Issue
2007-12-21 08:26 Bill Hoffman Status new => assigned
2007-12-21 08:26 Bill Hoffman Assigned To => Brad King
2007-12-28 15:00 Brad King Status assigned => closed
2007-12-28 15:00 Brad King Note Added: 0010030
2007-12-28 15:00 Brad King Resolution open => fixed


Copyright © 2000 - 2018 MantisBT Team