[LLVMdev] llvm-gcc and -march

Eric Christopher echristo at apple.com
Mon Aug 22 16:14:06 PDT 2011


On Aug 22, 2011, at 4:12 PM, Nichols A. Romero wrote:

> So my original post subject was for -march, but that was my mistake.
> The command line option
> is -arch.
> 

*sigh*

> Since presumably Macports is just fetching an llvm tar ball from some
> repository, is the issue that llvm
> has been misconfigure in some obvious way? Yes, I can take a look at
> the driverdriver.c source file
> as well.
> 

Just plain configure/make/make install won't build the driver driver. You need an apple style buildit for that. Check out the build_llvm or build_gcc scripts in the source directory for a guideline.

> Should this also be working in LLVM 2.9 or is the latest SVN also needed?
> 

2.9 should be fine.

-eric




More information about the llvm-dev mailing list