[macruby-changes] [3472] MacRuby/trunk/README.rdoc

source_changes at macosforge.org source_changes at macosforge.org
Tue Feb 9 17:07:06 PST 2010


Revision: 3472
          http://trac.macosforge.org/projects/ruby/changeset/3472
Author:   pthomson at apple.com
Date:     2010-02-09 17:06:55 -0800 (Tue, 09 Feb 2010)
Log Message:
-----------
Adding more specific instructions for the LLVM compilation process. Thanks to Jordan Breeding for the updated shell commands.

Modified Paths:
--------------
    MacRuby/trunk/README.rdoc

Modified: MacRuby/trunk/README.rdoc
===================================================================
--- MacRuby/trunk/README.rdoc	2010-02-09 23:26:12 UTC (rev 3471)
+++ MacRuby/trunk/README.rdoc	2010-02-10 01:06:55 UTC (rev 3472)
@@ -24,13 +24,14 @@
 * LLVM ToT, compiled for both i386 and x86_64.
 
   LLVM is a moving target and breaks periodically. We recommend to install
-  revision 89156.
+  revision 89156, being sure to specify the correct C and C++ compilers through 
+  environment variables. 
 
     $ svn co -r 89156 https://llvm.org/svn/llvm-project/llvm/trunk llvm-trunk
     $ cd llvm-trunk
-    $ ./configure --enable-bindings=none
-    $ UNIVERSAL=1 UNIVERSAL_ARCH="i386 x86_64" ENABLE_OPTIMIZED=1 make
-    $ sudo env UNIVERSAL=1 UNIVERSAL_ARCH="i386 x86_64" ENABLE_OPTIMIZED=1 make install
+    $ 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
 
   Note that compiling LLVM can take quite a while. If you have a machine with
   multiple cores, which is quite likely, you might want to speed up the process
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100209/75507666/attachment.html>


More information about the macruby-changes mailing list