[cfe-dev] How to change the linker of clang

Kim Gräsman kim.grasman at gmail.com
Sun Jun 14 01:43:37 PDT 2015


Hi David,

On Sat, Jun 13, 2015 at 11:05 PM, David Chisnall
<David.Chisnall at cl.cam.ac.uk> wrote:
>
> Didn’t we upstream the support for -fuse-ld=foo, which would use ld.foo in your default linker search path, so if you install gold as /usr/bin/ld.gold (as, I believe, is the default), it will work with -fuse-ld=gold?

I think it happened relatively recently, so dated versions of Clang
might not have it.

I can't remember the details now, but when I set up my FreeBSD 10.1
box, I don't think the bundled Clang had -fuse-ld yet.

- Kim




More information about the cfe-dev mailing list