Skip to content

Instantly share code, notes, and snippets.

@brson
Created September 28, 2011 19:05
Show Gist options
  • Save brson/1248894 to your computer and use it in GitHub Desktop.
Save brson/1248894 to your computer and use it in GitHub Desktop.
Installation notes on how the windows 2008 servers were set up
==============================================================
install mingw.org's mingw-get installer
use mingw-get to get msys-vim and msys-wget
get mozilla, mercurial, python 2.7, s3cmd (if it's to be an upload-to-s3
tinderbox) and msysgit
add *trailing* path entries to ~/.profile for the latter 4, so you have lines
like:
export PATH=$PATH:/c/Program\ Files\ \(x86\)/Git/bin
export PATH=$PATH:/c/Program\ Files/Mercurial
export PATH=$PATH:/c/Python27
export PATH=$PATH:/c/Python27/Scripts
Now build LLVM:
mkdir /c/rustbuild
cd /c/rustbuild
git clone http://llvm.org/git/llvm.git
mkdir llvm-x86-{build,inst}
cd llvm-x86-build
CXX='g++ -m32' CC='gcc -m32' CFLAGS=-m32 CXXFLAGS=-m32 LDFLAGS=-m32 \
../llvm/configure --disable-bindings --enable-optimized \
--disable-shared --enable-targets=x86,x86_64 \
--prefix=c:/rustbuild/llvm-x86-inst
make && make -k install
The docs will fail to install but that's ok.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment