[LLVMdev] setting up LLVM to *run on* amd64 but *generate code* for alpha

Bob Wilson bob.wilson at apple.com
Fri Mar 13 22:44:30 PDT 2009


On Mar 13, 2009, at 10:39 PM, Bob Wilson wrote:

> The bigger picture here is that you don't need to do anything special
> to build LLVM as a cross compiler.  If you just run configure for LLVM
> without any --target options, the default is to include all the
> backends.  You can then select a particular backend at runtime.
>
> It is only when you build llvm-gcc, which I understand you aren't
> interested in right now, that you need to specify --target to  
> configure.

After sending this, I went back and re-read your questions one more  
time and it made me think you know this already.  Your questions  
reminded me of some of my own confusion when moving from gcc to llvm,  
but it sounds like you're dealing with some things I haven't had to  
face yet.  Good luck!



More information about the llvm-dev mailing list