Please note that LinuxExchange will be shutting down on December 31st, 2016. Visit this thread for additional information and to provide feedback.

I'm trying out the Gold Linker to see if it will improve link time of our application. And it does, significantly. Occasionally, I need to use the GNU Linker. How would I go about doing this?

I am using Ubuntu 10.04 and I installed the Gold Linker from the package manager.

Thanks

asked 14 Sep '11, 16:20

Bruce%20Banner's gravatar image

Bruce Banner
1112
accept rate: 0%




If you want to not only monitor an application, but the code within it (so you can find out where the application is efficient (and not so efficient), check out http://www.newrelic.com for that.

Now as for gold itself, if it runs as a daemon and you want to use it in a stand-alone / non-daemon-server mode, then you should be able to do that via the configuration of gold. For example, I can run ntop (another application) as either a daemon or as a stand-alone application - it's all in the configuration of it, that's all.

Have you read the manual? Searched the web? ....and still not found the answer?

link

answered 16 Sep '11, 14:15

Ron's gravatar image

Ron ♦
9361718
accept rate: 13%

Use a script setting the CC environment variable that calls gcc the -B option. See

http://fepy.blogspot.com/2009/09/selectively-disabling-gold-linker.html
link

answered 22 Feb '12, 09:50

qneill's gravatar image

qneill
1
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×81
×39
×4

Asked: 14 Sep '11, 16:20

Seen: 4,460 times

Last updated: 22 Feb '12, 09:50

powered by OSQA