ag++ — a frontend to ac++ and g++
-o output input.cpp
-c -o output.o
This manual page documents briefly the ag++
is a frontend to ac++ and g++ provided by AspectC++. For a better
(and more complete) reference, see the AspectC++ documentation.
is called much like g++ itself. Check the two syntax forms above and
follow these explanations:
The first syntax form takes input.cpp
and generates an executable named
, after weaving into input.cpp all the aspects that crosscut it.
has restrictions as it would have if we were compiling a
regular C++ program: it must have an main()
function, and everything
you already know.
The second syntax form takes input.cpp
and generates an object file named
, after weaving into input.cpp
all the aspects that
in both cases, input.cpp
isn't actually changed. g++
weaves to temporary files.
arguments, like -I INDCIR
, -L LIBCIR
, and so on, are recognized by ag++
and rightly passed to
Further options can be seen in AspectC++ documentation.
ag++ (1), g++ (1).
Again: for full reference on AspectC++ usage, see AspectC++ documentation. It
can be obtained from http://www.aspectc.org
This manual page was written by Antonio S. de A. Terceiro
<email@example.com> for the Debian
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.
On Debian systems, the complete text of the GNU General Public License can be
found in /usr/share/common-licenses/GPL.