AspectC++(1)

✨ NAME ✨

Okay bestie, this page is all about ag++ πŸ’–, which is a frontend to ac++ and g++. It's basically g++ with aspect superpowers πŸ”₯.


πŸ“œ SYNOPSIS πŸ“œ

ag++  -o output input.cpp
ag++  -c -o output.o -o input.cpp

πŸ’– DESCRIPTION πŸ’–

Okay so this manual page only gives you a quick overview of the ag++ command 🌸. It's the bare-bones version, so don't panic if you want more detail.

ag++ is a frontend to ac++ and g++, and it comes from AspectC++ πŸ¦‹. For a better and more complete reference, go read the AspectC++ documentation. Trust me, it's giving full lore πŸ“š.

ag++ is called pretty much like g++ itself πŸ’…. Peep the two syntax forms up in SYNOPSIS, then follow these explanations:

The first syntax form takes input.cpp and makes an executable named output. Along the way it weaves into input.cpp every aspect that crosscuts it ✨. Honestly this is the main character move. Your input.cpp still has the same restrictions it would have if you were compiling a regular C++ program, so it needs a main() function, plus everything you already know πŸ™ˆ.

The second syntax form takes input.cpp and makes an object file named output.o, and again it weaves in all the aspects that crosscut it 🧚.

Note: in both cases, input.cpp isn't actually changed 🫢. g++ weaves into temporary files instead, so your original file stays exactly as it is.

Common g++ arguments, like -I INDCIR, -L LIBCIR, -l libfoo, and so on, get recognized by ag++ and passed along to g++ πŸ’œ. It's giving seamless.


πŸŽ€ OPTIONS πŸŽ€

Further options can be seen in the AspectC++ documentation 🌈. Go check it out, there's so much more.


πŸ¦‹ SEE ALSO πŸ¦‹

ag++ (1), g++ (1).

Again, for the full reference on AspectC++ usage, see the AspectC++ documentation. You can grab it from http://www.aspectc.org πŸ“.


πŸ‘‘ AUTHOR πŸ‘‘

This manual page was written by Antonio S. de A. Terceiro <asaterceiro@inf.ufrgs.br> for the Debian system, but others are totally allowed to use it 🫢. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2, and 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 πŸ“œ.

Ttyl, that's the whole AspectC++(1) page πŸ’–βœ¨πŸ¦‹