[cfe-dev] clang dependence on gcc for assembler even with -filetype=obj
aaronngray.lists at gmail.com
Wed Jun 9 12:37:47 CDT 2010
On 9 June 2010 17:41, Chris Lattner <clattner at apple.com> wrote:
> 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
Okay I have to study the code a bit, but basically I have defined a
Win32HostInfo class, associated creator, and Driver::GetHostInfo() creator
next a clang::driver::toolchains::Win32 class ? Should there be ("pure")
Win32Clang for native Windows and Win32GCC classes for Cygwin and MinGW to
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev