Changes between Version 6 and Version 7 of Building/PlatformsScriptsFileNames


Ignore:
Timestamp:
Mar 10, 2009 12:15:11 PM (6 years ago)
Author:
simonmar
Comment:

move "crippled ld" to the troubleshooting page

Legend:

Unmodified
Added
Removed
Modified
  • Building/PlatformsScriptsFileNames

    v6 v7  
    112112   The Cygwin shell does no argument processing when invoking non-Cygwin programs. 
    113113 
    114 === Crippled {{{ld}}} === 
    115  
    116 It turns out that on both Cygwin and MSYS, the {{{ld}}} has a 
    117 limit of 32kbytes on its command line.  Especially when using split object 
    118 files, the make system can emit calls to {{{ld}}} with thousands 
    119 of files on it.  Then you may see something like this: 
    120 {{{ 
    121  
    122 (cd Graphics/Rendering/OpenGL/GL/QueryUtils_split && /mingw/bin/ld -r -x -o ../QueryUtils.o *.o) 
    123 /bin/sh: /mingw/bin/ld: Invalid argument 
    124  
    125 }}} 
    126 The solution is either to switch off object file splitting (set 
    127 {{{SplitObjs}}} to {{{NO}}} in your 
    128 {{{build.mk}}}), 
    129 or to make the module smaller. 
    130114 
    131115=== Host System vs Target System ===