One available port of GCC to MS-DOS is DJGPP. For more information on djgpp, see http://www.delorie.com/djgpp/faq/mini-faq.txt or ftp://ftp.delorie.com/pub/djgpp/mini-faq.txt