[llvm-commits] [gcc-plugin] r82326 - /gcc-plugin/trunk/README
Duncan Sands
baldrick at free.fr
Sat Sep 19 13:26:06 PDT 2009
Author: baldrick
Date: Sat Sep 19 15:26:06 2009
New Revision: 82326
URL: http://llvm.org/viewvc/llvm-project?rev=82326&view=rev
Log:
Forget about the lto branch for the moment: mainline
seems to work fine, and the two branches are sometimes
out of sync, causing the plugin not to build against
one of them. Since I have to choose one, I choose
mainline.
Modified:
gcc-plugin/trunk/README
Modified: gcc-plugin/trunk/README
URL: http://llvm.org/viewvc/llvm-project/gcc-plugin/trunk/README?rev=82326&r1=82325&r2=82326&view=diff
==============================================================================
--- gcc-plugin/trunk/README (original)
+++ gcc-plugin/trunk/README Sat Sep 19 15:26:06 2009
@@ -2,15 +2,17 @@
- BUILD INSTRUCTIONS -
----------------------
+Step 0: Build and install llvm
+------------------------------
+
+I'm assuming anyone reading this knows how to build and install llvm.
+You need the latest llvm from the subversion repository.
+
Step 1: Build gcc
-----------------
-Check out the gcc lto branch from the gcc subversion repository:
- svn checkout svn://gcc.gnu.org/svn/gcc/branches/lto SomeLocalDir
-It should be possible to check out gcc mainline instead:
+Check out gcc from the gcc subversion repository:
svn checkout svn://gcc.gnu.org/svn/gcc/trunk SomeLocalDir
-However I only test with mainline from time to time (plugin development
-is currently against the lto branch), so it's safer to use the lto branch.
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 few small
patches need to be applied. Configure gcc with your favorite options.
More information about the llvm-commits
mailing list