home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 22 gnu / 22-gnu.zip / gnuenscr.zip / README.DOS < prev    next >
Text File  |  1996-06-29  |  1KB  |  54 lines

  1.  
  2.         How to compile enscript for Windows*
  3.  
  4. This file documents how I managed to compile enscript to the
  5. Windows95/NT environment by using MSC 4.00.  The magic steps were:
  6.  
  7. 1) unpack the distribution
  8.  
  9. 2) copy `compat/config.dos' to the top level directory to the name 
  10.    `config.h':
  11.  
  12.     cp compat/config.dos config.h
  13.  
  14. 3) create a new `Console Application' project
  15.  
  16. 4) add following files to the project:
  17.     
  18.     afmlib/afm.c
  19.     afmlib/afmparse.c
  20.     afmlib/deffont.c
  21.     afmlib/enc_hp8.c
  22.     afmlib/enc_iso.c
  23.     afmlib/enc_iso2.c
  24.     afmlib/enc_iso3.c
  25.     afmlib/enc_mac.c
  26.     afmlib/enc_pc.c
  27.     afmlib/enc_vms.c
  28.     afmlib/strhash.c
  29.     compat/gethostname.c
  30.     compat/getopt.c
  31.     compat/getopt1.c
  32.     compat/getpwd.c
  33.     compat/getuid.c
  34.     src/main.c
  35.     src/prt_dos.c
  36.     src/psgen.c    
  37.     src/util.c
  38.     src/xalloc.c
  39.  
  40. 5) define following additional preprocessor symbols:
  41.  
  42.     HAVE_CONFIG_H
  43.  
  44. 6) add following additional include directories:
  45.  
  46.     <top-level-directory>
  47.     <top-level-directory>/compat
  48.     <top-level-directory>/afmlib
  49.     <top-level-directory>/src
  50.  
  51. 7) build enscript.exe
  52.  
  53. 8) print
  54.