home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 7 / FreshFishVol7.bin / bbs / gnu / aplusplus-1.01-src.lha / GNU / src / amiga / APlusPlus-1.01 / SASC++ / ReadMe < prev    next >
Text File  |  1994-05-05  |  2KB  |  43 lines

  1. Some comments about compiling the A++ Library with the SAS C++ compiler
  2. -----------------------------------------------------------------------
  3.  
  4. BEFORE compiling ASSIGN apphome: to the drawer where the unpacked
  5. archive resides i.e. where the 'APlusPlus' drawer is present.
  6.  
  7. Don't assign to the 'APlusPlus' drawer itself!!
  8.  
  9. I recently used SAS C++ V6.51 (great work!).
  10. The SCoptions represented in the scoptions file have shown to produce
  11. a running A++ Library with best optimization.
  12. The Peephole Optimizer causes only SignalResponder class not to work
  13. properly so don't use it.
  14. Debugging is of course possible but expect a .lib file of about 1.5M!
  15. The optimized version is about 150K.
  16.  
  17. You will need a fast Amiga with at least 6MB (I'm working on an A3000 with
  18. 6MB and I'm constantly doing 'avail flush').
  19.  
  20. The file aplusplus.lib contains the A++ Library as link library ready to use.
  21.  
  22.  
  23. How to compile the examples:
  24. ------------------------------------------------------------------------
  25. You have assigned 'apphome:' to where your 'APlusPlus' directory resides.
  26. The unpacked APlusPlus directory contains the library headers, and the
  27. examples are in 'TESTPRGS'. The 'SASC++' directory is set up as working
  28. directory.
  29. Before compiling, open a shell window and make the 'SASC++' directory 
  30. the current one. Now, start the compiler with the line:
  31.  
  32. >sc apphome:APlusPlus/TESTPRGS/exec/MsgPort_test.cxx objectname apphome:APlusPlus/SASC++/ link
  33.  
  34. The example 'MsgPort.cxx' will be compiled with the SCOptions in 'SASC++'
  35. and linked to 'MsgPort_test'.
  36.  
  37. Announcements:
  38. As soon as making a shared library from C++ code becomes easier with SAS®/C++
  39. the A++ Library will become a shared library! Up to now I don't have the time
  40. to rewrite every C++ method with __asm keywords.
  41. Probably there will be several shared libraries: one for Intuition, one for
  42. DOS, one for AREXX, one for ...
  43.