[aspectc-user] weaving problem

Olaf Spinczyk Olaf.Spinczyk at informatik.uni-erlangen.de
Tue Jun 21 09:24:23 CEST 2005


Hi,

Fabian Scheler wrote:
> Hi,
> 
> 
>>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
> with
> 
> 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.
----------------------------------------^
here is typo: remove the .o!

> 
> Ciao, Fabian

... or use ag++ for the compilation instead of ac++. ag++ then generates 
a temporary config file automatically.

Olaf



More information about the aspectc-user mailing list