home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 122.lha / Arp_v1.1 / Libraries / Lattice_SRC / readme < prev   
Encoding:
Text File  |  1986-11-20  |  1.3 KB  |  44 lines

  1. To make the files in this directory, which should be the a.lib and
  2. arp.lib for Lattice users, proceed as follows (note that the
  3. pragma file must be done first!).
  4.  
  5. fd2pragma INCLUDE/LIBRARIES/arp_lib.fd INCLUDE/LIBRARIES/arp_pragmas.h
  6. lc -b _arpmain.c
  7. lc -b arpvars.c
  8. lc -b arpvars2.c
  9.  
  10. oml arp.lib r _arpmain.o LatGlue.o arpvars2.o arpvars.o
  11. oml a.lib r LatGlue.o arpvars2.o
  12.  
  13. and then delete any .o files you find still laying around.
  14. If you want to use the arp.lib library you just created, you must
  15. also do:
  16.  
  17. asm arpc.s
  18.  
  19. which will result in a file arpc.o.
  20.  
  21. ================
  22. To use
  23. ===============
  24. The link command lines for lattice have changed with this release, since the
  25. lattice support code is now much better.  To use arp, having automatic
  26. GADS() processing from the CLI, and also accessing most of the compilers
  27. native library features link like so:
  28.  
  29. blink arpc.o <yourobj>.o TO <yourname> LIB arp.lib lc.lib amiga.lib
  30.  
  31. Note that you use the ARP supplied startup code (arpc.o) instead of
  32. the usual c.o module supplied by lattice, and also note the order of
  33. the LIB files.
  34.  
  35. If you want to use ARP with an explicit OpenLibrary() call, and use the
  36. normal compiler startup code, do
  37.  
  38. blink c.o <yourobj>.o TO <yourname> LIB a.lib lc.lib amiga.lib
  39.  
  40. The differences here are NO arpc.o and use a.lib instead of arp.lib
  41.  
  42. sdb
  43.  
  44.