HOW to Compile FreeCOM v0.83 Beta 48 in Ten Steps

Because of several complaints about how to compile FreeCOM, this description has been crafted to show this process step-by-step.

Table of Contents

Preparations
     Used System
     Required Programs and Libraries
System Configuration
     CONFIG.SYS
     AUTOEXEC.BAT
One-time Preparations
     Contents of Directory C:\BIN
     Contents of Directory C:\
Ten Steps to Compile FreeCOM v0.83 Beta 48


Preparations

This description starts at the scratch, hence, it is assumed that no other tools are already installed and up and running. If there are some program available, you must take precautions to incorporate them into the process.

Used System

This examples uses the following system:

Required Programs and Libraries

All this stuff will be made accessable to the Virtual PC through CD-Rom, as this is the only variant for this VMware release.

System Configuration

CONFIG.SYS

files=20
device=fdxms.sys
device=NEC_IDE.SYS /D:CD001
;shell=com-xms.com /p/e:256

AUTOEXEC.BAT

path c:\bin;c:\tcpp101\bin
set TEMP=C:\Temp
SHSUCDX.EXE  /D:CD001

One-time Preparations

Note: On drive D: the CD-Rom has been mounted.
MKDIR %TEMP%
MKDIR C:\BIN
COPY D:\NASM\NASM.EXE D:\VI.EXE D:\UNZIP.EXE C:\BIN
d:
cd tcpp101
install

Contents of Directory C:\BIN

 Volume in drive C has no label
 Volume Serial Number is 58EF-6DA7

 Directory of C:\BIN

.                    <DIR>  11-03-02  9:44a
..                   <DIR>  11-03-02  9:44a
VI       EXE       372,158  04-25-01 12:37p
SHSUCDX  EXE        15,726  10-20-00 10:34p
NASM     EXE       252,452  09-12-02  6:37p
UNZIP    EXE        43,691  08-29-94  9:37p
         4 file(s)        684,027 bytes
         2 dir(s)      24,221,696 bytes free

Contents of Directory C:\

 Volume in drive C has no label
 Volume Serial Number is 58EF-6DA7

 Directory of C:\

KERNEL   SYS        40,962  10-27-02 11:17p
COMMAND  COM        86,573  10-16-02  9:10p
COM-XMS  COM        88,203  10-16-02  9:07p
CONFIG   SYS            86  10-30-02  1:24p
AUTOEXEC BAT            69  10-30-02 11:28a
FDXMS    SYS         4,836  03-02-02  6:55p
NEC_IDE  SYS        29,089  04-26-96  8:37a
TEMP                 <DIR>  04-25-01  1:32p
TCPP101              <DIR>  11-03-02  9:56a
BIN                  <DIR>  11-03-02  9:44a
         7 file(s)        249,818 bytes
         3 dir(s)      24,221,696 bytes free

Ten Steps to Compile FreeCOM v0.83 Beta 48

c:
CD \
unzip d:\COM083BE.ZIP
unzip -q freecom.zip
del freecom.zip 
cd freecom\suppl\
unzip -n d:\suppl.zip
cd ..
vi config.mak
build

There should be a COMMAND.COM located in the current directory now.

There is also a sample build log.

The build script uses the environment variables SWAP and LNG.


Appendix A: Description of settings





Copyright 2002 © Steffen Kaiser - current maintainer of FreeCOM

Elvis - The VI clone