home *** CD-ROM | disk | FTP | other *** search
/ RBBS in a Box Volume 1 #2 / RBBS_vol1_no2.iso / 014r / pdtar.zip / PORTING < prev    next >
Text File  |  1987-02-18  |  2KB  |  33 lines

  1.         Porting hints for public domain tar
  2.           John Gilmore, ihnp4!hoptoad!gnu
  3.              @(#)PORTING 1.5    86/10/29
  4.  
  5. The Makefile should be edited to comment out all the undesired
  6. versions, and create the following configuration lines for the system
  7. you are compiling it on:
  8.  
  9. DEFS = the proper #define's to conditionally compile for
  10. your system.
  11. LIBS = the system libraries and/or object modules to link
  12. with the program.
  13. LINTFLAGS = a good strong way to invoke 'lint' on your system.
  14. DEF_AR_FILE = the name of the default archive file on your system.
  15. It should be enclosed in quoted quotes, e.g. \"/dev/foo\" .
  16. DEFBLOCKING = the default blocking factor on your system.
  17.  
  18. A copy of "getopt", the standard argument parser, is required.  It's in
  19. libc on Missed'em V systems and 4.3BSD; on most other systems, you'll
  20. need a copy of a public domain getopt, available through mod.sources
  21. or the AT&T Toolchest if you can't find it elsewhere.
  22.  
  23. A copy of the Berkeley directory access routines is also required.
  24. These are in libc and <sys/dir.h> on Berkeley systems.  A public domain
  25. version is available through mod.sources.  There is an #include you
  26. have to change in create.c for this, to set the name of the include
  27. file you have.  Some systems have the include file in <sys/ndir.h>.
  28. You'll have to find it on your system, or get the public domain one
  29. and place it somewhere.
  30.  
  31. Grep for FIXME to find places that aren't finished or which have
  32. portability problems.  Also see the file TODO.
  33.