home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 19 Printer / 19-Printer.zip / cpostsrc.zip / README < prev    next >
Text File  |  1994-02-06  |  1KB  |  39 lines

  1.  
  2.                          Source / Porting Notes
  3.  
  4.             cPost - C language file formatter for PostScript
  5.  
  6.                            by Patrick Mueller
  7.  
  8.                           pmuellr@vnet.ibm.com
  9.  
  10.  
  11. ----------------------------------------------------
  12. What you've got
  13. ----------------------------------------------------
  14.  
  15. You've got all the source for cPost included in this package.
  16. The packing list is in the file cpostsrc.lst.  It's just plain
  17. old C source, with #defined out stuff for AIX, OS/2 1.x, OS/2 2.x.
  18.  
  19. The code is intended to be straight ANSI C, with possible non-portable
  20. stuff marked by #if defined() sections.
  21.  
  22. Here's what you should #define for particular platforms:
  23.  
  24. OS/2 1.x  #define OPSYS_OS2
  25. OS/2 2.x  #define OPSYS_OS2V2
  26. VM/CMS    #define OPSYS_CMS    - untested
  27. others    don't define one of the above
  28.  
  29. AIX versions have been compiled without using any of the #define's.  DOS
  30. versions should also compile fine, but as I don't have access to a DOS
  31. compiler, I can no longer verify this myself.
  32.  
  33. The main operating system dependent stuff is in cPostUtl - the FileSpecAddXXX
  34. series of functions.  If you need to modify this code, I would suggest
  35. adding a new #if defined() section in there for the new platform, just
  36. like the others.  Nice and neat.
  37.  
  38. Patrick Mueller
  39.