[llvm-commits] [dragonegg] r155796 - in /dragonegg/trunk: README src/Backend.cpp

Duncan Sands baldrick at free.fr
Sun Apr 29 12:38:48 PDT 2012


Author: baldrick
Date: Sun Apr 29 14:38:48 2012
New Revision: 155796

URL: http://llvm.org/viewvc/llvm-project?rev=155796&view=rev
Log:
The plugin no longer piggybacks on top of GCC's LTO infrastructure.  Mention
that it (kinda sorta) works with gcc-4.7 while there.

Modified:
    dragonegg/trunk/README
    dragonegg/trunk/src/Backend.cpp

Modified: dragonegg/trunk/README
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/README?rev=155796&r1=155795&r2=155796&view=diff
==============================================================================
--- dragonegg/trunk/README (original)
+++ dragonegg/trunk/README Sun Apr 29 14:38:48 2012
@@ -5,13 +5,12 @@
 Prerequisites
 -------------
 
-The dragonegg plugin works with gcc 4.5 or gcc 4.6, so you will need to have one
-of these installed.  Many linux distributions ship one or both of them, perhaps
-as an addon package; binaries can be downloaded for most platforms.  Otherwise
-you can always build one of these gcc versions yourself.  Both plugin support
-(--enable-plugin) and support for link time optimization (--enable-lto) need
-to be enabled in gcc, but since they are enabled by default on most platforms
-this should be the case.
+The dragonegg plugin works with gcc 4.5, gcc 4.6 or gcc-4.7, so you will need to
+have one of these installed.  Many linux distributions ship one or both of them,
+perhaps as an addon package; binaries can be downloaded for most platforms.
+Otherwise you can always build gcc yourself.  Plugin support (--enable-plugin)
+needs to be enabled in gcc, but since it is enabled by default on most platforms
+you usually won't need to do this explicitly.
 
 Step 0: Build and install llvm
 ------------------------------

Modified: dragonegg/trunk/src/Backend.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/src/Backend.cpp?rev=155796&r1=155795&r2=155796&view=diff
==============================================================================
--- dragonegg/trunk/src/Backend.cpp (original)
+++ dragonegg/trunk/src/Backend.cpp Sun Apr 29 14:38:48 2012
@@ -1539,8 +1539,6 @@
 #endif
   flag_generate_lto = 1;
   flag_whole_program = 0;
-#else
-# error "LTO support required but not enabled in GCC"
 #endif
 
   // Stop GCC outputting serious amounts of debug info.





More information about the llvm-commits mailing list