aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-05-09 09:09:57 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-05-09 09:09:57 +0200
commit44f0829221f725d9fcee12f2456c899ac5ae4b87 (patch)
tree53ac1a2d029f680db0fb3895594f5d81a6572146
parent0a794bb81ab2efa614c190089b5dc63a5c194db2 (diff)
Add note on ODB requiring GCC with plugin support
-rw-r--r--INSTALL25
1 files changed, 23 insertions, 2 deletions
diff --git a/INSTALL b/INSTALL
index 9fe12bf..2383e68 100644
--- a/INSTALL
+++ b/INSTALL
@@ -4,13 +4,34 @@ Prerequisites
- GNU g++ >= 4.5.0 http://gcc.gnu.org/
- libcutl http://www.codesynthesis.com/projects/libcutl/
+ODB requires the GCC compiler (g++) to be built with plugin support.
+If you are building GCC yourself, you can enable plugin support with
+the --enable-plugin configure option. If you are using a pre-packaged
+GCC (for example, as part of your distribution), then you can verify
+that GCC was built with plugin support by running g++ with the -v
+option and then making sure --enable-plugin is present in the output.
+
+Note also that for pre-packaged GCC, plugin headers are usually
+distributed in a separate package, normally called gcc-plugin-dev
+or similar. You will need to install this package in order to build
+ODB. For Debian/Ubuntu, this package is called gcc-X.Y-plugin-dev,
+for example:
+
+apt-get install gcc-4.7-plugin-dev
+
+For RedHat/Fedora, this package is called gcc-plugin-devel, for
+example:
+
+yum install gcc-plugin-devel
+
+
Building on UNIX
================
The following build instructions are for the Linux/UNIX/Mac OS X
operating systems.
-The standard autotools-based build system is used on these platforms.
+The standard autotools-based build system is used on these platforms.
After unpacking the source code archive, change to the odb package
directory (referred to as odb/ from now on) and run the configure
script:
@@ -55,6 +76,6 @@ make install
Building on Windows
===================
-Building odb on Windows involves a custom build procedure. Consider
+Building odb on Windows involves a custom build procedure. Consider
using the pre-compiled binary distribution of odb for Windows or write
to odb-users@codesynthesis.com for more information.