[aspectc-user] can anyone tell me how to mix AspectC++ with MinGW
Matthias Urban
matthias.urban at pure-systems.com
Mon Oct 4 11:41:14 CEST 2004
Hi,
> the main problem is the AC++ 's include file search path
> 1) I set the environment variable like this
> set PUMA_CONFIG=C:\eclipse\AC\pumabc55.cfg
> 2) change the pumabc55.cfg 's content
>
> -I C:\MinGW\include C:\MinGW\include\c++\3.2.3
> C:\MinGW\include\c++\3.2.3\mingw32 C:\MinGW\include\c++\3.2.3\backward
> but It would not work for AC++ only get the path of C:\MinGW\include
> can anyone tell me how to work it out,thank you
The -I option does not accept more than one path. But you can split your
include line like this:
-I C:\MinGW\include
-I C:\MinGW\include\c++\3.2.3
-I C:\MinGW\include\c++\3.2.3\mingw32
-I C:\MinGW\include\c++\3.2.3\backward
The last path given is the first path searched by the parser.
Have you tried to use the <AC++_INSTALL_DIR>/pumag++config.pl script to
generate the config file? This is a Perl script, so you need Perl to run
it. Since you are using mingw you may need to pass the command used to
run mingw to the script, e.g.
perl.exe pumag++config.pl mypuma.cfg mingw32-g++
Regards,
Matthias
--
Matthias Urban Phone: +49-391-544569-32
pure-systems GmbH Fax: +49-391-544569-90
More information about the aspectc-user
mailing list