Changes between Version 4 and Version 5 of Building/Troubleshooting


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

--

Legend:

Unmodified
Added
Removed
Modified
  • Building/Troubleshooting

    v4 v5  
    179179automatically)
    180180
     181=== Crippled {{{ld}}} ===
     182
     183It turns out that on both Cygwin and MSYS, the {{{ld}}} has a
     184limit of 32kbytes on its command line.  Especially when using split object
     185files, the make system can emit calls to {{{ld}}} with thousands
     186of files on it.  Then you may see something like this:
     187{{{
     188
     189(cd Graphics/Rendering/OpenGL/GL/QueryUtils_split && /mingw/bin/ld -r -x -o ../QueryUtils.o *.o)
     190/bin/sh: /mingw/bin/ld: Invalid argument
     191
     192}}}
     193The solution is either to switch off object file splitting (set
     194{{{SplitObjs}}} to {{{NO}}} in your
     195{{{build.mk}}}),
     196or to make the module smaller.