Some guys at Google thought that GNU ld was a bit slow on C++ programs.
Guess what, they were right and wrote a new C++ linker from scratch. Enter
GNU gold. It links about 10x faster than traditional ld. Ubuntu 9.10 or
Debian testing people can enjoy it by apt-getting binutils-gold. I just
pushed the necessary changes to support this linker. It's a bit pickier on
the -l flags you provide (you need to provide some more than with old ld).
The orocos-rtt-corba .pc file needed to be updated.
For those loosing track, this updates our minimal Orocos build chain to
Quad-core i7 + 6GB RAM + gcc 4.4 + ccache + gold + Eclipse all this to keep
your build under 60 seconds.
Example RTT 2.0 mainline with CORBA, tests:
empty ccache + make clean + make -j8: 1m36s
make clean + make -j8 with all in ccache : 14s
Really worth it's name.
Peter
GNU gold
pushed the necessary changes to support this linker. It's a bit pickier on
the -l flags you provide (you need to provide some more than with old ld).
The orocos-rtt-corba .pc file needed to be updated.
How did you manage cmake to use gold? Changing CMAKE_LINKER makes no effect. Actually it always links our projects with c++, whether CMAKE_LINKER is set to ld or gold.
On google I just found http://www.kwwidgets.org/Bug/bug_view_page.php?bug_id=8065 , which states that CMAKE_LINKER is not really usable
thanks