home *** CD-ROM | disk | FTP | other *** search
- To make the files in this directory, which should be the a.lib and
- arp.lib for Lattice users, proceed as follows (note that the
- pragma file must be done first!).
-
- fd2pragma INCLUDE/LIBRARIES/arp_lib.fd INCLUDE/LIBRARIES/arp_pragmas.h
- lc -b _arpmain.c
- lc -b arpvars.c
- lc -b arpvars2.c
-
- oml arp.lib r _arpmain.o LatGlue.o arpvars2.o arpvars.o
- oml a.lib r LatGlue.o arpvars2.o
-
- and then delete any .o files you find still laying around.
- If you want to use the arp.lib library you just created, you must
- also do:
-
- asm arpc.s
-
- which will result in a file arpc.o.
-
- ================
- To use
- ===============
- The link command lines for lattice have changed with this release, since the
- lattice support code is now much better. To use arp, having automatic
- GADS() processing from the CLI, and also accessing most of the compilers
- native library features link like so:
-
- blink arpc.o <yourobj>.o TO <yourname> LIB arp.lib lc.lib amiga.lib
-
- Note that you use the ARP supplied startup code (arpc.o) instead of
- the usual c.o module supplied by lattice, and also note the order of
- the LIB files.
-
- If you want to use ARP with an explicit OpenLibrary() call, and use the
- normal compiler startup code, do
-
- blink c.o <yourobj>.o TO <yourname> LIB a.lib lc.lib amiga.lib
-
- The differences here are NO arpc.o and use a.lib instead of arp.lib
-
- sdb
-
-