[LLVMdev] Cross-compiling LLVM on Mac OS X

Eric Christopher echristo at apple.com
Mon Dec 21 13:38:54 PST 2009


> 
> configure: error: Already configured in /Users/rob/Developer/External/llvm-trunk
> make[1]: *** No targets specified and no makefile found.  Stop.
> make: *** [cross-compile-build-tools] Error 1

You're going to need multiple configures and multiple build directories to do it that way. You may want to try just setting your CXXFLAGS to "-arch i386 -arch ppc -arch x86_64" or something.

Out of curiosity, why are you trying to build ToT 3-way FAT for OSX? It's already built like that on the system.

-eric



More information about the llvm-dev mailing list