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

Joerg Sonnenberger joerg at britannica.bec.de
Sat Jun 13 13:38:48 PDT 2015


On Fri, Jun 12, 2015 at 12:17:04PM +0300, Azat Khuzhin wrote:
> On Fri, Jun 12, 2015 at 12:30:54PM +1000, Nikola Smiljanic wrote:
> > That's what I used to do but each Ubuntu update would revert the symlink.
> > That's when I found about -fuse-ld=gold, I'd expect it to work with other
> > linkers as well.
> 
> Also maybe clang could support -B option like gcc have [1], that allow
> you to change prefix for executables and other compiler stuff.

It does.

Joerg



More information about the llvm-dev mailing list