home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 5 / FreshFish_July-August1994.bin / bbs / gnu / aplusplus-1.01-src.lha / src / amiga / aplusplus-1.01 / gnuc++ / ReadMe < prev    next >
Text File  |  1994-05-09  |  1KB  |  35 lines

  1. Some comments about compiling the A++ Library with the GNU 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 GNU C++ 2.5.7 and it works fine.
  10.  
  11. Even with the GNU compiler you will need a fast Amiga with at least 6MB.
  12. But DON'T get the idea to optimize with only 6MB. Actually that's why I
  13. was not able up to now to build an optimized library with the GNU C++.
  14. Without optimization the .a file will become about 1MB! That's the reason
  15. why it's not in the archive. Please compile it yourself. If you don't
  16. have enough memory you will not have enough to compile any applications,
  17. too! Sorry!
  18.  
  19. The makefile builds an archive in the GCC's lib: directory.
  20. If you don't want it to be there, change the makefile and add your place
  21. to the library path.
  22.  
  23. Compile and link your application (like the TESTPRGS) with:
  24.  
  25.     cd apphome:aplusplus/GNUC++
  26.    g++ /TESTPRGS/intuition/GT_test.cxx -Iapphome: -laplusplus -lauto
  27.  
  28. (Mind the order in which the link libraries are specified: 
  29.  '-lauto' always at the end.)
  30.  
  31. If you encounter any problems during the link, try to change the order of
  32. the archive files.
  33.  
  34. There is a link problem with _Keymap and _Timer base. They seem not be 
  35. in the libauto.a file!