[llvm-commits] [dragonegg] r133465 - /dragonegg/trunk/README
Duncan Sands
baldrick at free.fr
Mon Jun 20 13:06:18 PDT 2011
Author: baldrick
Date: Mon Jun 20 15:06:18 2011
New Revision: 133465
URL: http://llvm.org/viewvc/llvm-project?rev=133465&view=rev
Log:
I worked out how to build dragonegg against debian's gcc 4.5.
Modified:
dragonegg/trunk/README
Modified: dragonegg/trunk/README
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/README?rev=133465&r1=133464&r2=133465&view=diff
==============================================================================
--- dragonegg/trunk/README (original)
+++ dragonegg/trunk/README Mon Jun 20 15:06:18 2011
@@ -28,6 +28,12 @@
Build the plugin like this:
GCC=PATH_TO_INSTALLED_GCC make
This command should be executed in the directory containing this README.
+The plugin makes use of various gcc headers that are usually shipped with gcc.
+However some linux distributions, for example debian and ubuntu, have split the
+headers out of gcc into a separate package. So if you get errors along the
+lines of "config.h not found", check whether gcc headers like "config.h" and
+"tree.h" are installed. On debian the package containing headers is called
+gcc-4.5-plugin-dev or gcc-4.6-plugin-dev.
The plugin needs to know about the version of gcc it will be loaded into, which
is why you need to specify your version of gcc 4.5/4.6 via the GCC variable like
More information about the llvm-commits
mailing list