[LLVMdev] LLVM on MinGW

Antony Blakey antony.blakey at gmail.com
Wed Nov 28 15:03:22 PST 2007


SVN head LLVM and Clang built out of the box for me a week ago on MSYS/ 
MINGW, using the following files:

MinGW-5.1.3.exe
MSYS-1.0.10.exe
msysDTK-1.0.1.exe
bash-3.1-MSYS-1.0.11-1.tar.bz2
bison-2.3-MSYS-1.0.11.tar.bz2
coreutils-5.97-MSYS-1.0.11-snapshot.tar.bz2
flex-2.5.33-MSYS-1.0.11.tar.bz2
gawk-3.1.5-MSYS-1.0.11-snapshot.tar.bz2
regex-0.12-MSYS-1.0.11.tar.bz2

1. install these components
2. install an SVN client
3. retrieve LLVM and Clang
4. ./configure
5. make
6. cd tools/clang
7. make

I end up with an error making the driver for Clang in step 7, but the  
libraries all build, which is what I needed. Apart from that  
everything was easy. In particular I didn't need to install any  
special llvm gcc. Neither did I have to do that when building on  
Ubuntu 7.10. I don't know if that instruction is relevant any more.

Antony Blakey
--------------------------
CTO, Linkuistics Pty Ltd
Ph: 0438 840 787

What can be done with fewer [assumptions] is done in vain with more
   -- William of Ockham (ca. 1285-1349)






More information about the llvm-dev mailing list