1
How to compile AspectC++ (for Linux on Linux):
2
==============================================
4
Prerequisites for compiling the AspectC++ project from the source
7
- The GNU C++ compiler (g++), normally the default compiler of
8
the mainstream Linux distributions will work.
10
- Working binaries for ac++ and ag++ (the Puma library itself
11
is implemented in AspectC++!) -- you can get binaries from
12
http://www.aspectc.org/. Unpack the tarball and make sure the
13
directory which contains ag++ and ac++ is in your command
16
- libxml2 including header files (libxml2-dev on some Linux
17
distributions). Check if the xml2-config command is in your
20
Steps for compiling the AspectC++ project (for details, consult the
21
README files within each of the subdirectories):
30
If you compile on a multi-processor or multi-core machine and want to
31
parallelize the build process, use "make MINUSJ=<P>" when you compile
32
Puma and "make -j<P>" when you compile AspectC++ and Ag++. "<P>" is
33
the number of parallel activities that you want to allow, e.g. "make
36
Eventually you will find the compiled binaries of ag++ and ac++ in the
37
directory "AspectC++/bin/linux-release". These binaries are statically
38
linked against Puma, but all other libraries (including libxml2) are
39
used dynamically. If you want a "debug-build" instead of a release
40
build, use "TARGET=linux" as an additional option when you run "make"
41
(in all three directories).
43
If you experience any problems, use our aspectc-user mailing list or
44
our bugzilla system. Visit www.aspectc.org and look for "support" for
47
The AspectC++ Developers