[llvm-commits] [llvm-gcc-4.2] r55908 - /llvm-gcc-4.2/trunk/README.LLVM
Anton Korobeynikov
asl at math.spbu.ru
Mon Sep 8 07:36:51 PDT 2008
Author: asl
Date: Mon Sep 8 09:36:51 2008
New Revision: 55908
URL: http://llvm.org/viewvc/llvm-project?rev=55908&view=rev
Log:
Do not confuse users with darwin-specific hacks
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=55908&r1=55907&r2=55908&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/README.LLVM (original)
+++ llvm-gcc-4.2/trunk/README.LLVM Mon Sep 8 09:36:51 2008
@@ -116,12 +116,18 @@
--enable-llvm=$LLVMOBJDIR --enable-languages=c,c++$EXTRALANGS $TARGETOPTIONS
$ make $BUILDOPTIONS
$ make install
+
+//===-----------------------
+Darwin/Mac OS X Specific part:
+
$ ln -sf /usr/lib/libstdc++.6.dylib `pwd`/../install/lib
$ ln -sf /usr/lib/libstdc++.6.dylib `pwd`/../install/lib/libstdc++.dylib
That last step, "ln -sf ..." is required so that the linker (collect2) can find
libstdc++ ('-lstdc++') and subsequently link C++ executables correctly.
+//===-----------------------
+
Note that if you prefer to bootstrap llvm-gcc (so that the final llvm-gcc
executables have been compiled with llvm-gcc itself), replace "make" with
"make bootstrap".
More information about the llvm-commits
mailing list