.TH "AspectC++" "1" .SH "NAME" ag++ \(em a frontend to ac++ and g++ .SH "SYNOPSIS" .PP \fBag++\fR \-o \fIoutput\fR \fIinput.cpp\fR .PP \fBag++\fR \-c \-o \fIoutput.o\fR \-o \fIinput.cpp\fR .SH "DESCRIPTION" .PP This manual page documents briefly the \fBag++\fR command. .PP \fBag++\fR is a frontend to ac++ and g++ provided by AspectC++. For a better (and more complete) reference, see the AspectC++ documentation. .PP \fBag++\fR is called much like g++ itself. Check the two syntax forms above and follow these explanations: .PP The first syntax form takes \fIinput.cpp\fP and generates an executable named \fIoutput\fP, after weaving into input.cpp all the aspects that crosscut it. \fIinput.cpp\fP has restrictions as it would have if we were compiling a regular C++ program: it must have an \fImain()\fP function, and everything you already know. .PP The second syntax form takes \fIinput.cpp\fP and generates an object file named \fIoutput.o\fP, after weaving into \fIinput.cpp\fP all the aspects that crosscut it. .PP \fINote:\fP in both cases, \fIinput.cpp\fP isn't actually changed. \fBg++\fR weaves to temporary files. .PP Common \fBg++\fR arguments, like \fI-I INDCIR\fP, \fI-L LIBCIR\fP, \fI-l libfoo\fP, and so on, are recognized by \fBag++\fR and rightly passed to \fBg++\fR. .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