[LLVMdev] building LLVM for i386 under snow leopard

Keith Sheppard keithshep at gmail.com
Thu Aug 18 19:55:14 PDT 2011


Hello, Does anyone know how to build LLVM for the i386 architecture
with snow leopard (this seems to have been the default for leopard).
I've tried building with:

./configure CFLAGS="-arch i386" CXXFLAGS="-arch i386" LDFLAGS="-arch
i386" OBJCFLAGS="-arch i386" --prefix=/Users/keith/share/
--enable-shared --enable-jit && make

but I still end up with x86_64 binaries.

Thanks, Keith



More information about the llvm-dev mailing list