ac++1
Aspect weaver for c++
Usage
ac++ -p
srcidr
-d
destdir
ac++ -c
input
-o
outputr
Overview
This manual page documents briefly the ac++ command.
ac++ is the AspectC++ weaver. ac++ does source-to-source translation. This manual page documents the minimum needed in order to use ac++. For a better reference, see AspectC++ documentation.
The first syntax form above invokes ac++ in WPT mode, while the second one invokes it in STU mode (see OPERATION MODES below)
Operation modes
WPT (whole program transformation) mode does the translation of the entire source tree into another one. This is useful to apply all the aspects of one source tree, generating other source tree with the aspects woven into the sources.
To use WPT mode, run ac++ with the first syntax form Specify the original source tree in the srcdir argument, and a name for the destination source tree in the destdir argument.
STU (single translation unit) mode does the translation of one translation unit, namely a C++ single file, for exemple. This mode applies to the translation units all aspects that affect it.
To use STU mode, run ac++ with the second syntax form. Specify the translation unit in the input argument, and the output file in the output argument. The -c works as in g++: if omitted, you're telling to ac++ to compile the source into an executable; if present, source will be compiled into an object (.o) file.
Options
Further options can be seen in AspectC++ documentation.
Releases
10 releases since Debian 4.0 (Etch); the text changed 5 times.