LLVM comes in two parts: the LLVM libraries and tool sets (file area llvm) and the llvm c/c++ frontend (a modification of GCC to provide c/c++ compilation for LLVM).
Building LLVM is non-trivial, but there are complete instructions available. Please visit the projects home page and click on the "Documentation" link at the top left and look at the "LLVM Getting Started Guide".
Please note that support for Win32 platforms is fledgling at this point. We have several people working on it, but the software was originally developed for Unix and its taking a bit of re-work to make it compile and run on Win32. Your best bet on Win 2000 right now is to get yourself a copy of cygwin and use that instead. That environment is currently fully supported.
Best Regards,
Reid.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I have downloaded cfrontend-1.3.i386-unknown-freebsd5.2.1.tar.gz from
http://sourceforge.net/project/showfiles.php?group_id=119938&package_id=130753
After gunzip and tar the cfrontend directory has been created.
I would like to compile some C++ program.
What do I have to to?
I am working on Windows 2000.
I tried to invoke files from cfrontend/x86/llvm-gcc/bin, for instance, gcc:
$ ./gcc -v
./gcc: 1: Syntax error: "(" unexpected
Thanks,
Alex
Hi Alex,
LLVM comes in two parts: the LLVM libraries and tool sets (file area llvm) and the llvm c/c++ frontend (a modification of GCC to provide c/c++ compilation for LLVM).
Building LLVM is non-trivial, but there are complete instructions available. Please visit the projects home page and click on the "Documentation" link at the top left and look at the "LLVM Getting Started Guide".
Please note that support for Win32 platforms is fledgling at this point. We have several people working on it, but the software was originally developed for Unix and its taking a bit of re-work to make it compile and run on Win32. Your best bet on Win 2000 right now is to get yourself a copy of cygwin and use that instead. That environment is currently fully supported.
Best Regards,
Reid.
Hi Reid,
I am currently using Cygwin.
$ uname -srom
CYGWIN_NT-5.0 1.5.11(0.116/4/2) i686 Cygwin
Directory cfrontend/x86/llvm-gcc/bin contains the following files:
c++
cpp
g++
gcc
gccbug
gcov
i386-unknown-freebsd5.2.1-c++
i386-unknown-freebsd5.2.1-g++
i386-unknown-freebsd5.2.1-gcc
i386-unknown-freebsd5.2.1-gcc-3.4-llvm
Are they executables?
What do I have to do to compile some C++ program in LLVM, for instance, foo.cpp in Cygwin?
Thanks & Regards,
Alex