[aspectc-user] compiling ac++ with gcc 3.2
Olaf Spinczyk
Olaf.Spinczyk at informatik.uni-erlangen.de
Tue Oct 15 10:31:33 CEST 2002
On Saturday 12 October 2002 21:02, you wrote:
> Hi...
>
> I downloaded AspectC++ from the net and install in in a folder called
> 'AspetC'. I have also gcc 3.2 installed. How can I compile ac++ with gcc?
Hi,
as Daniel mentioned is his reply to your mail, the current AspectC++ version
can not parse some of the gcc 3.2 header files (e.g. iostream.h). As a
workaround you can additionally install an older gcc version. For instance,
Redhat 8.0 provides packages called compat-gcc...rpm for this purpose. You
can then run pumag++conf.pl like this: ./pumag++conf.pl puma.config g++296.
This will generate a puma.config file with the include paths of the old
compiler version. AspectC++ is able to parse these. The code generated by
AspectC++ can be compiled either with gcc 3.2 or 2.96, as you like.
I hope that helps. We are currently working on a better solution for this
problem by replacing underlying the C++ parser.
Yours,
Olaf
More information about the aspectc-user
mailing list