[LLVMdev] LLVM-C headers: create native library

Chris Lattner clattner at apple.com
Wed Jul 7 15:40:56 PDT 2010


On Jul 7, 2010, at 2:02 PM, Reid Kleckner wrote:

> On Wed, Jul 7, 2010 at 1:55 PM, Eugene Toder <eltoder at gmail.com> wrote:
>>> The clang driver generally uses an installed gcc to do the assemble
>>> and link steps at the moment.
>> 
>> gcc? I thought it uses binutils.
> 
> It does.  But clang uses the gcc driver to invoke the binutils tools
> anyway.  Presumably it's easier that way.

It only does this when there isn't a clang "ToolChain" description for the target.  On the mac, clang doesn't go through gcc to run the assembler.

-Chris



More information about the llvm-dev mailing list