[aspectc-user] weaving problem

Fabian Scheler fabian.scheler at gmail.com
Mon Jun 20 21:35:53 CEST 2005


> I use this command to weave my project :
> ac++ -c main.cc -o main.acc -a contract.ah -p. -I/usr/include/c++/3.3.4

instead of passing the standard include-path of gcc directly with the
-I option, use the puma.config file. You can create the puma.config

ag++ --gen_config --c_compiler <path_to_gcc>

afterwards call ac++ like this

ac++ --config puma.config -c main.cc .o main.acc -a contract.ah -p. -I.

Ciao, Fabian

More information about the aspectc-user mailing list