.TH "AspectC++" "1" .SH "NAME" aspectc++ \(em aspect weaver for C++ .SH "SYNOPSIS" .PP \fBac++\fR \-p \fIsrcidr\fR \-d \fIdestdir\fR .PP \fBac++\fR \-c \fIinput\fR \-o \fIoutputr\fR .SH "DESCRIPTION" .PP This manual page documents briefly the \fBac++\fR command. .PP \fBac++\fR is the AspectC++ weaver. \fBac++\fR does source-to-source translation. This manual page documents the minimum needed in order to use \fBac++\fR. For a better reference, see AspectC++ documentation. .PP The first syntax form above invokes \fBac++\fR in WPT mode, while the second one invokes it in STU mode (see OPERATION MODES below) .SH "OPERATION MODES" .PP \fIWPT\fP (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. .PP To use WPT mode, run \fBac++\fR with the first syntax form Specify the original source tree in the \fIsrcdir\fP argument, and a name for the destination source tree in the \fIdestdir\fP argument. .PP \fISTU\fP (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. .PP To use STU mode, run \fBac++\fR with the second syntax form. Specify the translation unit in the \fIinput\fP argument, and the output file in the \fIoutput\fP argument. The \fB-c\fP works as in \fBg++\fR: if omitted, you're telling to \fBac++\fR to compile the source into an executable; if present, source will be compiled into an object (.o) file. .SH "OPTIONS" .PP Further options can be seen in AspectC++ documentation. .SH "SEE ALSO" .PP ag++ (1), g++ (1). .PP Again: for full reference on AspectC++ usage, see AspectC++ documentation. It can be obtained from \fIhttp://www.aspectc.org\fP .SH "AUTHOR" .PP This manual page was written by Antonio S. de A. Terceiro for the \fBDebian\fP system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation. .PP On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. .\" created by instant / docbook-to-man