i am compiling FreeOrion with GCC-4.1.2. Everything works fine, except of one thing: the linking of the executables takes about 14 Minutes on my machine (3GHz, 2GB Ram). I watched the ld-process, leck of memory is NOT the problem.
I used "time" to measure that:
Code: Select all
real 13m47.636s user 11m52.565s sys 0m39.302s
Is there an intermediat way or are there options to gcc, which can decrease the time to link?