Installing 16 bit C/C++ Compilers
Jump to navigation
Jump to search
Installing Open Watcom C++ Compiler
Follow the same instructions as above but choose Open Watcom C/C++ compiler instead of I16*
Insert the following into your FDAUTO.BAT file
set DJGPP=c:\devel\djgpp\djgpp.env set PATH=c:\DEVEL\DJGPP\BIN;c:\devel\watcomc\binw;%PATH% c:\devel\watcomc\owsetenv.bat
Installing I16GNU
The I16GNU compiler currently does not support C++. If you want to compile programs in that language use the Open Watcom compiler.
- If you are running FreeDOS 1.3 then you will have an option to install the I16GNU compiler from the bonus CD.
- Unzip the img file in the bonus cd using 7zip and copy the package folder to the devstudio\runtimes\FreeDOS\install directory created earlier.
- start fdimples to install the following packages.
- DJGPP Environment
- DJGPP make
- All I16* packages
- Put the following into your autoexec.bat or FDAUTO.BAT file inside your freeDOS C:\ drive
set DJGPP=c:\devel\djgpp\djgpp.env set PATH=c:\DEVEL\I16GNU\BIN;c:\DEVEL\DJGPP\BIN;%PATH%
Once that is setup you can compile a test or hello world program and transfer the compiled exe file to your 16-bit machine and try it out.