[llvm-commits] [dragonegg] r97593 - /dragonegg/trunk/README

Duncan Sands baldrick at free.fr
Tue Mar 2 14:09:42 PST 2010


Author: baldrick
Date: Tue Mar  2 16:09:42 2010
New Revision: 97593

URL: http://llvm.org/viewvc/llvm-project?rev=97593&view=rev
Log:
Don't require the reader of this document to work out just
how to patch GCC.

Modified:
    dragonegg/trunk/README

Modified: dragonegg/trunk/README
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/README?rev=97593&r1=97592&r2=97593&view=diff
==============================================================================
--- dragonegg/trunk/README (original)
+++ dragonegg/trunk/README Tue Mar  2 16:09:42 2010
@@ -13,10 +13,12 @@
 
 Check out gcc from the gcc subversion repository:
   svn checkout svn://gcc.gnu.org/svn/gcc/trunk SomeLocalDir
-Apply the patches in the gcc-patches subdirectory, if any.  Hopefully one day
-the plugin will work with an unpatched gcc, but for the moment a small patch
-needs to be applied.  Configure gcc with your favorite options and also with
---enable-lto.  Build gcc and install it somewhere.
+Apply the patches in the gcc-patches subdirectory, if any.  The following
+command should do the trick ("SomeLocalDir" is where you checked out gcc):
+  cat gcc-patches/*.diff | patch -d SomeLocalDir -p1
+Hopefully one day the plugin will work with an unpatched gcc, but for the
+moment a small patch needs to be applied.  Configure gcc with your favorite
+options and also with --enable-lto.  Build gcc and install it somewhere.
 
 Darwin special: the gcc configure script thinks darwin doesn't support dynamic
 libraries and concludes that plugins won't work.  Delete or improve the check.





More information about the llvm-commits mailing list