home *** CD-ROM | disk | FTP | other *** search
- Some comments about compiling the A++ Library with the SAS C++ compiler
- -----------------------------------------------------------------------
-
- BEFORE compiling ASSIGN apphome: to the drawer where the unpacked
- archive resides i.e. where the 'APlusPlus' drawer is present.
-
- Don't assign to the 'APlusPlus' drawer itself!!
-
- I recently used SAS C++ V6.51 (great work!).
- The SCoptions represented in the scoptions file have shown to produce
- a running A++ Library with best optimization.
- The Peephole Optimizer causes only SignalResponder class not to work
- properly so don't use it.
- Debugging is of course possible but expect a .lib file of about 1.5M!
- The optimized version is about 150K.
-
- You will need a fast Amiga with at least 6MB (I'm working on an A3000 with
- 6MB and I'm constantly doing 'avail flush').
-
- The file aplusplus.lib contains the A++ Library as link library ready to use.
-
-
- How to compile the examples:
- ------------------------------------------------------------------------
- You have assigned 'apphome:' to where your 'APlusPlus' directory resides.
- The unpacked APlusPlus directory contains the library headers, and the
- examples are in 'TESTPRGS'. The 'SASC++' directory is set up as working
- directory.
- Before compiling, open a shell window and make the 'SASC++' directory
- the current one. Now, start the compiler with the line:
-
- >sc apphome:APlusPlus/TESTPRGS/exec/MsgPort_test.cxx objectname apphome:APlusPlus/SASC++/ link
-
- The example 'MsgPort.cxx' will be compiled with the SCOptions in 'SASC++'
- and linked to 'MsgPort_test'.
-
- Announcements:
- As soon as making a shared library from C++ code becomes easier with SASĀ®/C++
- the A++ Library will become a shared library! Up to now I don't have the time
- to rewrite every C++ method with __asm keywords.
- Probably there will be several shared libraries: one for Intuition, one for
- DOS, one for AREXX, one for ...
-