[llvm-commits] [llvm-gcc-4.2] r65172 - /llvm-gcc-4.2/trunk/README.LLVM
Tanya Lattner
tonic at nondot.org
Fri Feb 20 13:46:28 PST 2009
Author: tbrethou
Date: Fri Feb 20 15:46:28 2009
New Revision: 65172
URL: http://llvm.org/viewvc/llvm-project?rev=65172&view=rev
Log:
Add instructions to compile with fortran support.
Modified:
llvm-gcc-4.2/trunk/README.LLVM
Modified: llvm-gcc-4.2/trunk/README.LLVM
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/README.LLVM?rev=65172&r1=65171&r2=65172&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/README.LLVM (original)
+++ llvm-gcc-4.2/trunk/README.LLVM Fri Feb 20 15:46:28 2009
@@ -54,6 +54,9 @@
you are probably hitting http://llvm.org/PR896. Please reconfigure with the
--disable-shared option to work around this.
+If you want Fortran support:
+ EXTRALANGS=,fortran
+
//===-----------------------
X86-64/AMD-64/EM64-T for any OS other than Darwin/Mac OS X:
@@ -66,7 +69,7 @@
Next, decide if you want Objective-C support. If so:
EXTRALANGS=,objc,obj-c++
-
+
If building for Darwin/PPC:
TRIPLE=powerpc-apple-darwin8 (Tiger)
TRIPLE=powerpc-apple-darwin9 (Leopard)
@@ -88,6 +91,13 @@
With these options, llvm-gcc will build the same way as Apple's system GCC.
+If you want Fortran support, you need to do the following:
+ Get the GMP, MPFR, and libiconv via MacPorts.
+ You need to add fotran to the list of EXTRALANGS.
+ Then specify these additional options to configure:
+ --with-gmp=/opt/local
+ --with-mpfr=/opt/local
+ --with-libiconv-prefix=/opt/local
//===----------------------------------------------------------------------===//
Build Options
More information about the llvm-commits
mailing list