any option can control final linker choice in LLVM?

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?



Yes, Brooks has told me the option and it works. Thanks a lot!