[LLVMdev] cross compiling using llvm 1.8

Aviv Peretz aviv.peretz at mobileye.com
Sun Nov 2 01:47:50 PDT 2008


Hello,


I'm trying to cross compile version 1.8 of llvm using mingw32.

I followed the instructions that are published in the site (at 
http://llvm.org/docs/GettingStarted.html). However, I no matter what I 
try I get the following error message:


configure: WARNING: ***** llvm-gcc/llvm-g++ was not found, or does not 
appear to be
configure: WARNING: ***** working. Please make sure you have llvmgcc and 
llvmg++ in
configure: WARNING: ***** your path before configuring LLVM. The runtime 
libraries
configure: WARNING: ***** (llvm/runtime) will not be built but you 
should be able to
configure: WARNING: ***** build the llvm tools.


This is even though llvm-gcc and llvm-g++ are indeed in my path (which 
llvm-gcc/llvm-g++ proves that).

the command line I use for configuring is the following:

configure --prefix=$1/install --enable-debug-runtime --enable-jit 
--enable-targets=host-only *--build=i586-linux-gnu --host=mingw32*


Am I doing something wrong?

Does this version support this form of cross compiling? (in the release 
notes it is only said that version 1.8 has a much better support for 
cross compiling)


I'd appreciate your help,

Aviv

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20081102/1f90005c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3265 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20081102/1f90005c/attachment.bin>


More information about the llvm-dev mailing list