ccompilationdosdjgpp

compile C program to MS-DOS environment


i have a small program that uses 32bit object file, and i wish to run it under dos operating system. now, after searching i found DJGPP.
is there a way to use DJGPP to compile my program to 16Bit dos executable format?

thanks in advance


Solution

  • Take a look at this related Stack Overflow question. It might help.