[LLVMdev] -arch option ignored?

Devang Patel dpatel at apple.com
Fri Jul 6 10:26:45 PDT 2007


On Jul 6, 2007, at 8:04 AM, Leo Fink wrote:

> Built like this, llvm-gcc generates ppc code regardless of the -arch
> flag (e.g. arch i386).
>
> What can I do to make it behave like Apple's gcc in this matter?

You need to build darwin driver to use -arch. Try using build_gcc  
script to configure and build llvm-gcc.

-
Devang




More information about the llvm-dev mailing list