[LLVMdev] cross compiling using llvm 1.8
zaimoni at zaimoni.com
Mon Nov 3 23:06:59 PST 2008
Aviv Peretz wrote:
> I finally gave up building on Linux, in the meantime, and tried to
> build this version straight on Windows, using mingw32.
> appending configuration tag CXX to mklib
> appending configuration tag F77 to mklib
> checking for llvm-gcc.exe... /c/llvm1.8-mingw32/bin/llvm-gcc.exe
> checking for llvm-g++.exe... /c/llvm1.8-mingw32/bin/llvm-g++.exe
> *checking tool compatibility... configure: error: g++|icc required but
> not found*
> I searched the file system and couldn't find a file called g++.exe -
> only gcc.exe (which is located under mingw/bin) and llvm-g++.exe
> (which is located under llvm1.8-frontend/bin).
> What seems to be the problem and how can I solve it?
You only have C (provided by gcc) installed. You need to unpack the C++
tarball (which provides g++) in the parent directory (the one above bin
with gcc, include, and lib). The C++ tarball should be the same release
number as the gcc already installed.
More information about the llvm-dev