Skip to content

Instantly share code, notes, and snippets.

View benilovj's full-sized avatar

Jake Benilov benilovj

View GitHub Profile
@Watson1978
Watson1978 / gist:1062455
Created July 3, 2011 18:31
MacRuby : Build UniversalBinary

Build LLVM 2.9

$ svn co https://llvm.org/svn/llvm-project/llvm/branches/release_29@127367 llvm-2.9
$ cd llvm-2.9
$ env UNIVERSAL=1 UNIVERSAL_ARCH="i386 x86_64" CC=/usr/bin/gcc CXX=/usr/bin/g++ ./configure --enable-bindings=none --enable-optimized --with-llvmgccdir=/tmp
$ env UNIVERSAL=1 UNIVERSAL_ARCH="i386 x86_64" CC=/usr/bin/gcc CXX=/usr/bin/g++ make 
$ sudo env UNIVERSAL=1 UNIVERSAL_ARCH="i386 x86_64" CC=/usr/bin/gcc CXX=/usr/bin/g++ make install

Build MacRuby