File: README-Puma

package info (click to toggle)
aspectc%2B%2B 1%3A2.2%2Bgit20181008-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 18,704 kB
  • sloc: cpp: 110,629; ansic: 7,644; sh: 2,192; makefile: 1,317; pascal: 634; python: 402; xml: 349
file content (36 lines) | stat: -rw-r--r-- 1,165 bytes parent folder | download | duplicates (7)
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
Preparations:
=============

Install libxml2 sources from libxml.org. The versions we have used for ac++
are 2.6.17, 2.7.2, and 2.9.2. Configure the sources with...

./configure --prefix=<some target dir> --disable-shared --with-minimum --with-xpath --with-output --with-sax1 --with-tree

For cross compiling a windows version on Linux you might add...

--host=i586-mingw32msvc
(or similar)

Then run "make" and "make install". To make sure that the AspectC++
Makefile find the right libxml2-config command put the bin directory
from <some target dir> in your command search path.

Build the Puma library with your desired TARGET, e.g. "make
TARGET=linux-release".


Build AspectC++:
================

Set the PUMA environment variable to PUMA root directory (if Puma is
not located in ../Puma).

Execute "make" with the right TARGET setting from your Puma build,
e.g. "make TARGET=linux-release".

To weave and compile, use "make".

To run the test programs, use "make testclean testall".
You need to set the environment variable PUMA_CONFIG to your local puma.cfg, eg. ../Puma/gen-release/puma.cfg

The examples can be tested with "make exampleclean examplerun".