blob: 6bd473cabbb33884f6117c7585445c1dd1ebadf0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
Prerequisites
=============
- GNU g++ >= 4.5.0 http://gcc.gnu.org/
- libcutl >= 1.9.0 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
========
The easiest way to build this package is with the bpkg package manager:
$ bpkg build odb
But if you don't want to use the package manager, then you can also build it
manually using the standard build2 build system.
|