[LLVMdev] any option can control final linker choice in LLVM?
Wei Tang
tangwei.ict at gmail.com
Tue Feb 26 23:16:50 PST 2013
Yes, Brooks has told me the option and it works. Thanks a lot!
-B/path/to/directory/that/ld/resides/in
wei
On Wed, Feb 27, 2013 at 2:52 PM, 陳韋任 (Wei-Ren Chen) <
chenwj at iis.sinica.edu.tw> wrote:
> On Tue, Feb 26, 2013 at 11:24:39PM +0800, Wei Tang wrote:
> > Hi All,
> > I want to build cross compiler with LLVM-3.2 for X86, and hope LLVM
> > compiler driver to pick up linker located
> > in cross toolchain directory. It seems LLVM driver always chooses system
> linker
> > "/usr/bin/ld" by default.
> > Any option can be used to control? Thanks in advance!
>
> I remember clang [1] already provide a option for specifying the
> linker you want to use. But I think it should pick the right one,
> do you give clang the right triple?
>
> Regards,
> chenwj
>
> [1] http://clang.llvm.org/
>
> --
> Wei-Ren Chen (陳韋任)
> Computer Systems Lab, Institute of Information Science,
> Academia Sinica, Taiwan (R.O.C.)
> Tel:886-2-2788-3799 #1667
> Homepage: http://people.cs.nctu.edu.tw/~chenwj
>
--
Best Regards
tangwei
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130227/c5887808/attachment.html>
More information about the llvm-dev
mailing list