~ubuntu-branches/ubuntu/maverick/aspectc++/maverick

« back to all changes in this revision

Viewing changes to README

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2008-04-10 17:40:52 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20080410174052-xdnsm7oi8hauyyf1
Tags: 1.0pre4~svn.20080409+dfsg-3
Fix another missing include, this time in Ag++/StdSystem.cc

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
How to compile AspectC++ (for Linux on Linux):
 
2
==============================================
 
3
 
 
4
Prerequisites for compiling the AspectC++ project from the source
 
5
repository:
 
6
 
 
7
  - The GNU C++ compiler (g++), normally the default compiler of
 
8
    the mainstream Linux distributions will work.
 
9
 
 
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
 
14
    search path.
 
15
 
 
16
  - libxml2 including header files (libxml2-dev on some Linux
 
17
    distributions). Check if the xml2-config command is in your
 
18
    command search path.
 
19
 
 
20
Steps for compiling the AspectC++ project (for details, consult the
 
21
README files within each of the subdirectories):
 
22
 
 
23
$ cd Puma/
 
24
$ make
 
25
$ cd ../AspectC++/
 
26
$ make SHARED=1
 
27
$ cd ../Ag++/
 
28
$ make
 
29
 
 
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
 
34
-j2".
 
35
 
 
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).
 
42
 
 
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
 
45
information.
 
46
 
 
47
The AspectC++ Developers