Gold

I finally got around to trying gold (the new linker) for real.  Today I built it and tried linking gdb.  Sure enough, it is a lot faster — it was more than twice as fast at linking gdb as the F9 system linker.  The link went from 48 seconds to 22 seconds.

It is very simple to build and use.  Just check out binutils and configure with --enable-gold.  Then build and install it, put it in your path, and you’re done.

3 Comments

  • I’ve been using gold for awhile now and it is definitely nice. I often wonder if other projects would benefit from the advantages of using C++, GCC even.

  • But don’t they know C++ is slow? Just kidding… 😉

  • That’s why they write it all in Python. So bugs write by themselves and run even slower… 😉

Join the Discussion

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This site uses Akismet to reduce spam. Learn how your comment data is processed.