home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d5xx / d579 / bintohunk.lha / BinToHunk / Compiling < prev    next >
Text File  |  1991-12-22  |  1KB  |  32 lines

  1.  
  2. The distributed BinToHunk executable has been linked with with an
  3. unreleased version of the BuRP C Library.  The library has been working
  4. very well but is not quite ready to be released.  If you don't want to be a
  5. guinea pig, recompile it.  It may need some modifications to work under the
  6. current version of the BuRP port of GCC. 
  7.  
  8. BinToHunk has also been compiled and tested under Lattice C 5.04.  It
  9. displayed some warning messages but they were due to problems with
  10. prototypes in the headers and should not cause a problem.  I see no reason
  11. why it shouldn't work with newer versions. 
  12.  
  13. To compile under (SAS/)Lattice C:
  14.  
  15.   LC -b0 BinToHunk.c
  16.   Blink LIB:c.o BinToHunk.o usage.o TO BinToHunk LIB LIB:lc.lib
  17.  
  18. To compile under GCC:
  19.  
  20.   gcc -O BinToHunk.c usage.o -o BinToHunk
  21.  
  22. If usage.o is missing or usage.txt is modified, usage.o must be remade
  23. using BinToHunk:
  24.  
  25.   BinToHunk -l -t usage.txt usage.o _usage_message
  26.  
  27. If you don't have a working BinToHunk executable, you will have to define
  28. the symbol BOOTSTRAP when compiling BinToHunk.c and leave usage.o out of
  29. the command line.  Use `-dBOOTSTRAP' for Lattice or `-DBOOTSTRAP' for GCC. 
  30.  
  31.  - Ray Burr - December 1, 1991
  32.