source: trunk/third/enscript/README.DOS @ 17620

Revision 17620, 1.8 KB checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r17619, which included commits to RCS files with non-trunk default branches.
Line 
1
2                How to compile enscript for Windows NT
3
4This file documents how I managed to compile enscript to the
5Windows NT environment. In theory the instructions for Windows NT will be
6the same as for Windows '95, although I haven't tested it yet.
7
8I used  Visual C++ 5.0 (Visual Studio Edition) for the Intel Platform
9and Visual C++ 2.0 for the DEC Alpha Platform.
10
11The magic steps were:
12
131) unpack the distribution
14
152) copy `compat/config.dos' to the top level directory to the name
16   `config.h':
17
18        cp compat/config.dos config.h
19
203) create a new `Console Application' project for enscript.exe
21
224) add the following files to the project:
23
24        afmlib\afm.c
25        afmlib\afmparse.c
26        afmlib\deffont.c
27        afmlib\enc_hp8.c
28        afmlib\enc_iso.c
29        afmlib\enc_iso2.c
30        afmlib\enc_iso3.c
31        afmlib\enc_iso4.c
32        afmlib\enc_iso5.c
33        afmlib\enc_koi8.c
34        afmlib\enc_mac.c
35        afmlib\enc_pc.c
36        afmlib\enc_vms.c
37        afmlib\strhash.c
38        compat\gethostname.c
39        compat\getopt.c
40        compat\getopt1.c
41        compat\getpwd.c
42        compat\getuid.c
43        compat\xalloc.c
44        src\main.c
45        src\prt_dos.c
46        src\psgen.c
47        src\util.c
48
495) define following additional preprocessor symbols:
50
51        HAVE_CONFIG_H
52
536) add following additional include directories:
54
55        <top-level-directory>
56        <top-level-directory>\compat
57        <top-level-directory>\afmlib
58        <top-level-directory>\src
59
607) build enscript.exe
61
628) create a new 'Console Application' project for states.exe
63
649) add the following files to the project:
65
66    afmlib\strhash.c
67    compat\alloca.c
68    compat\getopt.c
69    compat\getopt1.c
70    compat\regex.c
71    compat\xalloc.c
72    states\gram.c
73    states\lex.c
74    states\main.c
75    states\prims.c
76    states\process.c
77    states\utils.c
78
7910) define following additional preprocessor symbols:
80
81        HAVE_CONFIG_H
82
8311) add following additional include directories:
84
85        <top-level-directory>
86        <top-level-directory>\compat
87        <top-level-directory>\afmlib
88
8912) print
Note: See TracBrowser for help on using the repository browser.