Hi All
I need you help here. I complied LLVM 2.8 using CMAKE +MS Visual Studio 2008 on windows machine. I have most of the .exe in bin, such as lli and clang, and they works fine, but there is no llvm-gcc. Do I need to compile llvm-gcc separately and how to do it on windows machine?
Many thanks.
Yafan
yafan zhao <yafan.zhao@gmail.com> writes:
I need you help here. I complied LLVM 2.8 using CMAKE +MS Visual Studio 2008
on windows machine. I have most of the .exe in bin, such as lli and
clang, and they works fine, but there is no llvm-gcc. Do I need to compile
llvm-gcc separately and how to do it on windows machine?
Building llvm-gcc with Visual Studio is not supported. You need to build
LLVM with MinGW and then follow the instructions for building llvm-gcc.
BTW, the most current release is 2.9.
yafan zhao<yafan.zhao@gmail.com> writes:
I need you help here. I complied LLVM 2.8 using CMAKE +MS Visual Studio 2008
on windows machine. I have most of the .exe in bin, such as lli and
clang, and they works fine, but there is no llvm-gcc. Do I need to compile
llvm-gcc separately and how to do it on windows machine?
Building llvm-gcc with Visual Studio is not supported. You need to build
LLVM with MinGW and then follow the instructions for building llvm-gcc.
BTW, the most current release is 2.9.
It's not stated explicitly above, but llvm-gcc is not contained within the LLVM source distribution. You can either download it as a separate tarball off of the downloads web page or download it via SVN by checkout it its separate SVN path (http://llvm.org/svn/llvm-project/llvm-gcc-4.2).
-- John T.
And here are some instructions on how to build the front-end:
http://llvm.org/docs/GCCFEBuildInstrs.html
Of course, we encourage you to use clang or dragonegg, as 2.9 was the last official release of llvm-gcc.
-bw