[aspectc-user] ac++ compiling

Jamal Siadat siadat at cpsc.ucalgary.ca
Wed Apr 13 12:47:48 CEST 2005


Thank you that pointed me to the right direction. ag++ didn't compile it
for me but it made the configure file for ac++ to use with the --config
puma.config option added to ac++

Thanks Again


> Hi Jamal,
>
> Jamal Siadat wrote:
>> Hi there,
>> I have a question about the ac++ compiler in STU mode (in linux). I only
>> want to compile the Action aspect from the examples provded in the
>> bundle.
>> I've tried: "./ac++ -c main.cc -o main.acc -p. -a Action.ah" to compile
>> it
>> however I get:
>> main.cc:2: error: No include path in which to find `stdio.h'
>> main.cc:2: error: redefinition of `A'
>> Action.ah:36: previously defined here
>>
>> how can I compile this?
>> Thanks alot
>
> if the ac++ parser can't find stdio.h this is probably related to a
> missing or wrong parser configuration file.
>
> Better use ag++ instead of ac++ to compile the example, because it is
> able to generate the configuration file automatically.
>
> Olaf
>






More information about the aspectc-user mailing list