Installation ------------ 0. Preparation If you like to use a compiler other than gcc/g++ set the CXX and CC environment before doing anything else. for csh/tcsh: setenv CC gcc; setenv CXX g++ for sh/bash : export CC=gcc; export CXX=g++ 1. Unpack the tarball in the current directory. All files go into (aspectc++-0.7). 2. Create puma.config call from ./pumag++conf.pl puma.config See platform/compile specific notes below for necessary manual customization of this file 3. Set PUMA_CONFIG environment to /puma.config for csh/tcsh: setenv PUMA_CONFIG /puma.config for sh/bash : export PUMA_CONFIG=/puma.config If you switch to another compiler repeat steps 3 and 4. The ac++ binary itself is statically linked and should be ready-to-run. Examples -------- To play with the examples type "make" in the top level directory to run ac++ on the examples under the examples/ directory. The output is placed under examples/-out/. To run an example change to the output directory and type "make" and then start the generated binary. Platform/compile specific notes ------------------------------ - GCC 3.x (all platforms) AC++ is not able to parse the STL of GCC 3.x . Preferably use a gcc 2.xx or make ac++ behave like a gcc 2.xx by tweaking the $PUMA_CONFIG file. Set the two specified define values as given below: -D __GNUC_MINOR__=95 # you may use __GNUC_MINOR__= 8 as well -D __GNUG__=2 - MacOS X Add -D_BSD_WCHAR_T_DEFINED_ either to ac++ command line or to the $PUMA_CONFIG file - Solaris 2.9 (at least) Add -D_WCHAR_T either to ac++ command line or to the $PUMA_CONFIG file - Windows See README.win32 Contact ------- Visit http://www.aspectc.org for more information and updated versions. If you want any information about the AspectC++ project or have any comments, feel free to send us mail via info@aspectc.org.