cross compiling using llvm 1.8


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

I followed the instructions that are published in the site (at ). 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,


Why are you using version 1.8? The latest release is 2.3, and 2.4 is in
the prerelease stage.

Best regards,