I would like write a program for MS-DOS...but I can't find the compiler option for a DOS program. #-o
---
Sorry for my bad english! :mrgreen:
Pelles-C doesn't target DOS and it would be a waste of time to build for a platform that is disappearing, particularly when DOS is so well covered by so many other compilers.
Up to the discovery of Pelles I had been using Borland C++ 3.1 for DOS because that IDE sports the editor and debugger functionality I need. After discovering that Pelles IDE had sufficient functionality to replace BC31 I now develop Win32 Console Mode apps instead of MS-DOS apps. The programs tend to be smaller, faster, and more full featured. Instead of poking through INT 0x21 calls I can just call the WinAPI directly.
Here are some compilers that support MS-DOS.
http://www.thefreecountry.com/compilers/cpp.shtml