[llvm-commits] [llvm-gcc-4.0] r43098 - /llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp

Devang Patel dpatel at apple.com
Fri Oct 19 11:27:28 PDT 2007


On Oct 19, 2007, at 11:17 AM, Bill Wendling wrote:

>> "-arch i386" is an apple-ism, and Foundation.h is part of the mac
>> system libraries.  Bill, can you please adjust the test to not
>> include a foundation header?
>>
> I'll give it a shot. I'm not an Objective C expert by any stretch. :-)
> Is there a platform-neutral equivalent flag that does with "-arch
> i386" does?


No. There is not any need for such thing on other targets, because  
they don't have universal compiler binaries.

"-arch i386" selects compiler that targets i386, on other targets you  
select it by invoking appropriate gcc driver yourself.

Why do you want to restrict this test for "-arch i386" ? How do you  
restrict an llvm code generation test for an architecture ?

-
Devang






More information about the llvm-commits mailing list