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