[cfe-dev] clang dependence on gcc for assembler even with -filetype=obj

Chris Lattner clattner at apple.com
Wed Jun 9 09:41:57 PDT 2010


On Jun 9, 2010, at 9:39 AM, Aaron Gray wrote:

> On 9 June 2010 17:29, Chris Lattner <clattner at apple.com> wrote:
> 
> On Jun 9, 2010, at 9:20 AM, Aaron Gray wrote:
> 
> > Hi,
> >
> > I just compiled llvm+clang with MSVC++ and tried using the -filetype=obj but clang seems to be dependent on GCC.
> 
> Clang defaults to using GCC as a portability layer for targets that don't have a ToolChain set up in the driver.  Define a ToolChain for your platform and this goes away.
> 
> Hi Chris,
> 
> Congratulations on your ACM SIGPLAN award.
> 
> Sorry to be dumb but how or where do I define a ToolChain ?

Take a look at clang/docs/DriverInternals.html

-Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100609/4f47036f/attachment.html>


More information about the cfe-dev mailing list