diff options
author | wlemb <wlemb> | 2000-05-12 23:27:48 +0000 |
---|---|---|
committer | wlemb <wlemb> | 2000-05-12 23:27:48 +0000 |
commit | 174550d8ebcb84abb55e93d5a8731ae508faf334 (patch) | |
tree | 1e0654dc8e24f1c17cf7afc0410ae54784856efd /README.WIN32 | |
parent | 8d99058d8a5f526ba5fe792c23db4aa0325d6d65 (diff) | |
download | groff-174550d8ebcb84abb55e93d5a8731ae508faf334.tar.gz |
Added win32 port contributed by Blake McBride
<blake@florida-software.com>.
* README.WIN32, win32-diffs: New files.
* NEWS: Updated.
* src/preproc/grn/hgraph.cc (HGSetBrush): Replace `%lf' with `%f'.
(tmove, tmove2): Added parentheses to avoid compiler warnings.
(change): Removed unused variables.
* src/preproc/grn/main.cc (main, conv): Removed unused variables.
(savebounds): Changed return value from `int' to `void'.
* src/preproc/grn/hdb.cc: Ditto.
* src/devices/grolbp/lbp.cc (lbp_printer::draw): Removed superfluous
final backslash in comment to avoid compiler warning.
* src/utils/pfbtops/pfbtops.c: Added `getopt.h'.
* doc/groff.texinfo: More fixes.
* tmac/tmac.doc: Documentation fix.
Diffstat (limited to 'README.WIN32')
-rw-r--r-- | README.WIN32 | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/README.WIN32 b/README.WIN32 new file mode 100644 index 00000000..38d4ecda --- /dev/null +++ b/README.WIN32 @@ -0,0 +1,62 @@ + +WIN32 port of GROFF and friends done by Blake McBride +(blake@florida-software.com) 4/14/00. + +This port differs from other ports in that it uses the Microsoft +compiler. The changes were done such that they only have effect on +the code when compiled with the Microsoft compiler. + +Note that not all preprocessors and output devices have been ported; +missing are grohtml, grolbp, grn, refer, soelim, and groff. Besides +these programs, no utility program has been ported. Of course, +gxditview (which only runs on the X Window System, the standard Unix +GUI) is missing also. + + +The following programs were used, running on Windows NT 4.0: + + Microsoft Visual C++ 6.0 + Unix utilities under NT (gzip, tar, patch) + + +Build Instructions +------------------ + +Unpack groff (using gzip & tar) as follows: + + cd \ + gzip -dc groff-1.16.tar.gz | tar xvf - + +Now apply the patch file `win32-diffs': + + cd \groff-1.16 + patch -p1 < win32-diffs + +Build everything by typing: + + nmake -f Makefile.msc + +You are done. + +The bin directory contains some .cmd files to help show how to run +stuff. Since Windows 95/98 doesn't understand .cmd files, if you are +operating under that OS you'll have to rename them to .bat files. +.bat files do have output redirection problems. + + +The changes I made fall into two categories. + +1. Makefiles. Several makefiles were added. All makefiles were named + Makefile.msc. + +2. The Groff build includes several scripts which generate auxiliary + files used by groff (such as DESC, I, R, prologue, etc). + + +Directories needed at runtime +----------------------------- + +bin +font +tmac +mm (copied, including sub-directories, from contrib/mm) |