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 πŸ¦‹πŸ’