open-watcom:
https://sourceforge.net/projects/openwatcom/files/
djgpp:
http://www.delorie.com/pub/djgpp/
That's about it.
An online found DJGPP configuration tutorial:
-------------------------------------------------------------------------------------
To use DJGPP, you first need to download several files.
Download address:
ftp://ftp.simtel.net
Directory: /pub/simtelnet/gnu/djgpp
Files to download:
(Required program files)
V2/djdev203.zip
V2GNU/bnu213b.zip
V2GNU/gcc32b.zip
V2GNU/gdb521b.zip
V2GNU/gpp32b.zip
V2GNU/grep24b.zip
V2GNU/mak3791b.zip
V2MISC/csdpmi5b.zip
(Optional documentation)
V2/djdoc203.zip
V2/faq230b.zip
V2GNU/gdb521d.zip
V2GNU/bnu213d.zip
V2GNU/grep24d.zip
V2GNU/mak3791d.zip
(Additional programs and documentation)
V2GNU/ind225b.zip
V2GNU/ind225d.zip
V2GNU/lss374b.zip
V2GNU/txi42b.zip
V2GNU/gzip13b.zip
V2GNU/gzip13d.zip
V2MISC/pmode12b.zip
V2TK/mss12.zip
V2APPS/man13b.zip
V2GNU/bsh204b.zip
V2GNU/bsh204d.zip
V2GNU/cvs19b.zip
V2GNU/dif28b.zip
V2GNU/fil41b.zip
V2GNU/fil41d.zip
V2GNU/find41b.zip
V2GNU/find41d.zip
If you are using broadband, you can download all the files in the /pub/simtelnet/gnu/djgpp directory (keep the directory structure).
Installation method:
1. Create a directory, the name can be DJGPP (no more than 8 characters)
2. Then use the following command to unzip the file
c:
cd /djgpp
pkunzip -n -d d:/download/v2/djdev.zip
All files need to be unzipped like this.
Note: You cannot use Winzip to unzip.
3. Then set the environment variable DJGPP
set djgpp=c:/djgpp/djgpp.env
If installed in other locations, just change it.
4. Open c:/djgpp/djgpp.env with EditPlus or UltraEdit and modify the following content
+LFN=y
Change to
+LFN=n
(Usually on line 11)
Note: After modification, you can't use long filenames in DJGPP programs because DJGPP's long filename support is a bit problematic, and there's no need for long filename support under DOS anyway.
Compilation method: After creating the file, use the following command to compile:
gpp -o hello.exe hello.cpp
-------------------------------------------------------------------------------
The download address in the above tutorial seems to be unavailable.