AspectC++(1)
β¨ AspectC++(1) β aspectc++ π
πΈ NAME
bestie, okay so the manual name is aspectc++ β it's the aspect weaver for C++ π¦ β and the command you actually type is ac++. slay. π
π NAME
Okay so the name of this whole thing is aspectc++, which is an aspect weaver for C++ π§ (the command you literally type is ac++, and yes that's the one we're talking about π
).
π«Ά SYNOPSIS
Two vibes, two ways to call it. Bestie, pick your fighter:
ac++ -p srcidr -d destdir
ac++ -c input -o outputr
π DESCRIPTION
This manual page documents briefly the ac++ command. Like, it's a short little page, no cap πΈ
ac++ is the AspectC++ weaver, and it does source-to-source translation π₯. This page only covers the minimum you need to use ac++. For the full tea, go check the AspectC++ documentation β¨.
The first syntax form above runs ac++ in WPT mode, and the second one runs it in STU mode (see OPERATION MODES below) π¦
π OPERATION MODES
π WPT (whole program transformation)
WPT mode translates your entire source tree into another one π. It's giving "apply every aspect in one tree and get a brand new tree with the aspects woven in" π .
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)
STU mode translates one translation unit, which is a single C++ file, for exemple π§. It applies all the aspects that affect that unit π.
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 the same way it does in g++ π₯: if you leave it out, you're telling ac++ to compile the source into an executable; if you include it, the source gets compiled into an object (.o) file β¨.
π OPTIONS
Further options can be seen in the AspectC++ documentation πΈ. Go look there, bestie π.
π¦ SEE ALSO
ag++ (1), g++ (1) π
Again, for the full reference on AspectC++ usage, see the AspectC++ documentation, which you can grab from http://www.aspectc.org π«Ά (iykyk).
π AUTHOR
This manual page was written by Antonio S. de A. Terceiro <asaterceiro@inf.ufrgs.br> for the Debian system, but honestly anyone can use it π
. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 (or 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 π.
Bestie, that's the whole tea βπ Source and version info: AspectC++ man page, Debian-style, dated 2026-10-13 πβ¨ Stay iconic, bestie π¦π
π¦ where this page comes from
- debian bookworm: aspectc++ 1:2.3+git20221129-2
- debian trixie: aspectc++ 1:2.3+git20241211-1
- ubuntu noble: aspectc++ 1:2.3+git20230726-1build1
- ubuntu questing: aspectc++ 1:2.3+git20241211-1build1
- ubuntu resolute: aspectc++ 1:2.5-1
- ubuntu stonking: aspectc++ 1:2.5-1
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms