OSX won't be a problem, it'll be the same as the Linux build
Windows is a bit more involved
llvm Setup for MinGW Windows takes around an hour 1/4 (in xp vm anyway)
Whats needed: links to downloads are supplied
WinRar
MinGW with msys
Python 2.7
(may also need tcl)
If you don't have winrar and you want to build llvm you'll need it to extract the archive
Download WinRar
http://www.rarlab.com/rar/wrar401.exe
Download MinGW
http://sourceforge.net/projects/mingw/f ... e/download
Run the installer
IMPORTANT _>>>> check Msys check box
>>>> check C++ compiler (not sure if it's needed but I did it anyway)
Install to C:\MinGW
Use the latest catalouge instead of the precompiled one (in case theres something missing)
set it going and then go make a coffee ~15 minutes
Once installed
you may want to set up environment vars for minGW (don't know if its required but I did it anyway)
XP click start -> right click MyComputer -> advanced Tab -> environment vars
edit Path add C:\MinGW\;C:\MinGW\Bin\;C:\MinGW\lib\;
IMPORTANT >>>> Download python 2.7.2 binary not version 3 or the build will fail halfway through
http://www.python.org/ftp/python/2.7.2/python-2.7.2.msi
Intall Python to where ever
IMPORTANT >>> then copy all the files under Python27\ directly to c:\MinGW\bin
Download llvm sources
IMPORTANT >>>> get the 2.8 version 2.9 is currently broken (probably a missing dependency in minGW)
http://llvm.org/releases/2.8/llvm-2.8.tgz
extract to C:\ so you have c:\llvm-2.8
Time to build, Cross Fingers!
open cmd prompt start > run type in cmd
> cd C:\minGW\msys\1.0
> msys
In the msys shell
> cd c:\llvm-2.8
> configure --enable-shared
(may also need to add --enable-optimized on that command)
wait it may hang for a moment before outputting results to console
A good time to go off and make a coffee while it checks everything!
takes ~15 to 20 minutes
When it's back to msys prompt
> make
Go and do something for ~30 to 40 minutes