![]() |
In response to requests, here is a version of the Gnu C Compiler
(gcc) for MS-DOS, which you can download and install on your own PC.
The original is at www.delorie.com.
(The compiler is now version 2.8.1; I have split the large zip files into smaller ones, each of which will fit on a floppy disk.) |
Warning: This is NOT for the faint hearted!
First you should read the following files:
my disclaimer!
installation instructions, etc
Then you should download the following files:
bnu281b-1.zip and
bnu281b-2.zip (the original bnu281b.zip
split into two files)
csdpmi4b.zip
djdev202-1.zip and
djdev202-2.zip (the original
djdev202.zip split into two files)
faq211b.zip
gcc281b.zip
mak377b.zip
Installation Instructions
(from www.delorie.com)
Follow this example, substituting paths as appropriate (type the bold parts):
C:\> mkdir djgpp C:\> cd djgpp
C:\DJGPP> pkunzip -d d:\tmp\djdev202.zip C:\DJGPP> pkunzip -d d:\tmp\faq211b.zip C:\DJGPP> pkunzip -d d:\tmp\bnu281b.zip C:\DJGPP> pkunzip -d d:\tmp\gcc281b.zip C:\DJGPP> pkunzip -d d:\tmp\mak377b.zip C:\DJGPP> pkunzip -d d:\tmp\csdpmi4b.zip
You need to update your C:\CONFIG.SYS to include the following lines (edit the first to suit your installation, and if these lines already exist, it's OK if they have larger numbers than these examples):
shell=c:\dos\command.com c:\dos /e:2048 /p files=40 fcbs=40,0
You need to update your C:\AUTOEXEC.BAT to include the following lines:
set PATH=C:\DJGPP\BIN;%PATH% set DJGPP=C:\DJGPP\DJGPP.ENV
Note that the PATH statement should follow any other PATH statements, or you may edit an existing PATH statement.
You'll need to reboot your computer for these changes to take effect.
L1U10 Home Page |