On 14-11-2013 19:58, mathog wrote:
Conclusion - inkscape is bumping up against a command line length limit in Windows XP, mingw, or Msys. There are some more redundant lines still in that file, but not all that many:
$ wc longlink3.txt 936 936 28665 longlink3.txt $ sort longlink3.txt | uniq | wc 903 903 28305 % grep build longlink3.txt | wc 844 845 27592
Perhaps it is time to consider linking subdirectories of build into their own static libraries, then link all of them together into inkscape?
Thanks for figuring out the problem. The cmdline limit is a pain. I believe we ran into the same problem when trying to set up a build with CMake (and our limit knowledge of how to do that), which created huge cmdlines too.
Not too long ago, we had to switch to linking everything in one go, because we rely on initialization of global namespace objects. See rev. 12559. I don't think this global object init thing is very elegant, and would love to get rid of it. The cmdline limit is a very strong argument of reinstating linking separate static libs.
(I just had the same problem, not in trunk, but while trying to build with updated devlibs, C++11, and Dwarf2-exceptions)
regards, Johan