[LLVMdev] Replace gcc with llvm-gcc

Török Edwin edwintorok at gmail.com
Tue Sep 15 09:52:53 PDT 2009

On 2009-09-15 19:41, John Criswell wrote:
> 罗勇刚(Yonggang Luo) wrote:
>> Just set llvm-ld as the default ld .
>> Such as LD = llvm-ld in makefile, if it's not working, then there is no solution
> Some Makefiles use the C compiler (e.g., gcc or llvm-gcc) as the
> linker.  For such Makefiles, the above will not work because llvm-gcc
> runs ld.  What you need is a linker that can link LLVM bitcode files
> together.

It is called CCLD/CXXLD for automake generated makefiles.

Best regards,

More information about the llvm-dev mailing list