DOS build notes
===============

* File key
* Compile on DOS with BCC
* 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
========

src\getenv.c     - for BCC build
src\release.txt  - releasenotes in DOS CRLF text format
src\par.doc      - converted to DOS CRLF text format
src\Makefile.bcc - Cross-compile on Slackware with BCC
src\charset.c    - Modified to build with BCC
src\charset.old  - Original charset.c
src\par.c        - Modified to build with BCC
src\par.old      - Original par.c

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

Use src\mkbcc.bat

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

Use src\mkwatcom.bat

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

Use src\Makefile.bcc

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

    export PATH=$PATH:$HOME/local/cross-djgpp/bin
    
    make CC="i586-pc-msdosdjgpp-gcc -c" \
        LINK1=i586-pc-msdosdjgpp-gcc    \
        -f protoMakefile
    
    mv par.exe par32.exe
    
    i586-pc-msdosdjgpp-strip par32.exe
    
    cp releasenotes release.txt
    unix2dos release.txt

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

    make CC="wcc -bt=dos -ml -i/home/ben/local/watcom/h" \
        LINK1="wcl -l=dos"                               \
        LINK2="-fe=par.exe #"                            \
        E=".exe"                                         \
        -f protoMakefile
    
    cp releasenotes release.txt
    unix2dos release.txt
