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

Azat Khuzhin a3at.mail at gmail.com
Fri Jun 12 02:17:04 PDT 2015


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.

[1]: https://gcc.gnu.org/onlinedocs/gcc/Directory-Options.html



More information about the llvm-dev mailing list