

- #Best virtual machine software for dos 6.22 code#
- #Best virtual machine software for dos 6.22 license#
(Don't forget to run it with -8086 if you're targeting something older than a 386.) You may also want to run the UPX compressor on the EXE files you build so you'll have more free space on any floppy images you make. Here are a few other free C compilers for DOS, though they lack the huge ecosystems DJGPP and OpenWatcom have:

If you want something that'll let you run the IDE and compiler on ancient hardware, the Pacific C compiler and IDE list a 286 CPU as their minimum requirement but can also be run in DOSEMU for easy integration into Linux-based build automation. (Though I don't know how complete its support is for the various memory models and calling conventions used in the 16-bit x86 ecosystem.) no DJGPP) and you want something with a more modern optimizer than the one in Open Watcom C/C++, there's a fork of GCC named GCC IA16 that you can try. If your project must run in real mode (ie.
#Best virtual machine software for dos 6.22 code#
In fact, DOS/4GW's creator was trying to dig up the source code for a newer version of DOS/4GW to contribute to Open Watcom when he passed away. (When you see a game like DOOM saying "DOS/4GW Protected Mode Runtime" when it starts, that means that it was built using Watcom C/C++, because DOS/4GW is the special Watcom bundle version of DOS/4G.)
#Best virtual machine software for dos 6.22 license#
OpenWatcom still includes the free license to use DOS/4GW that made it so popular back in the day. No matter what you're trying to do, OpenWatcom ( source) is likely to meet your needs. (Including a Turbo Vision port with an installation HOWTO) It's a protected-mode DOS port of GCC and probably has the largest selection of libraries and guides available of any of the open-source options. Here are a bunch of details others have missed:
