Contents
========

* File key
* Compile on DOS with BCC
* Compile on DOS with DJGPP
* Compile on DOS with Watcom
* Cross-compile on Slackware with BCC
* Cross-compile on Slackware with DJGPP
* Cross-compile on Slackware with Watcom

File key
========

json2tsv.com     - json2tsv compiled with BCC
js2tsv32.exe     - json2tsv compiled with DJGPP
json2tsv.exe     - json2tsv compiled with Watcom
src\man2txt.awk  - Convert man page to plain text
src\mkbcc.bat    - Compile on DOS with BCC
src\mkclean.bat  - Clean up after build
src\mkdjgpp.bat  - Compile on DOS with DJGPP
src\mkwatcom.bat - Compile on DOS with Watcom
src\json.c       - Modified to work with BCC
src\json2tsv.c   - Modified to work with BCC
src\json.old     - Original json.c
src\json2tsv.old - Original json2tsv.c

Compile on DOS with BCC
=======================

    Run mkbcc.bat

mkbcc.bat uses bcc, groff, and mawk

bcc
<gopher://tilde.pink/1/~bencollver/files/dos/devel/bcc/>

groff
<ftp://ftp.mirrorservice.org/sites/
ftp.delorie.com/pub/djgpp/current/v2gnu/gro1223b.zip>

mawk
<gopher://tilde.pink/1/~bencollver/files/dos386/devel/mawk/>

Compile on DOS with DJGPP
=========================

    Run mkdjgpp.bat

Compile on DOS with Watcom
==========================

    Run mkwatcom.bat

Cross-compile on Slackware with BCC
===================================

    $ make -f Makefile.bcc

Cross-compile on Slackware with DJGPP
=====================================

    $ export PATH=$PATH:$HOME/local/cross-djgpp/bin
    $ make CC=i586-pc-msdosdjgpp-gcc \
        AR=i586-pc-msdosdjgpp-ar \
        RANLIB=i586-pc-msdosdjgpp-ranlib \
        CFLAGS=-DGETNEXT=getchar
    $ mv json2tsv.exe js2tsv32.exe
    $ i586-pc-msdosdjgpp-strip js2tsv32.exe
    $ GROFF_NO_SGR=1 TERM=dumb groff -Tascii -man json2tsv.1 |\
        col -b >json2tsv.txt
    $ unix2dos json2tsv.txt

Cross-compile on Slackware with Watcom
======================================

    $ make -f Makefile.wat
