[LLVMdev] How to change the linker of clang
Sandeep Raju
srand48 at gmail.com
Thu Jun 11 19:38:56 PDT 2015
The -B option tells clang where to look for the linker. So you could try:
clang -B /path/to/other/linker/ ...
Sandeep
On Thu, Jun 11, 2015 at 6:36 PM Eric Lu <eirc.lew at gmail.com> wrote:
> 1) Build clang with GCC-4.9.2, when compling other application s with
> clang/clang++, the default linker is ld, can I replace it with other linker
> tool, if we can, how to do it?
>
> I.E. can we use collect2 instead?
>
> 2) how to specify the path, if we do not use the default vertion GCC?
>
>
> Best Regards!
> Eric Lew
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150612/5fea3f93/attachment.html>
More information about the llvm-dev
mailing list