I can't seem to get dev-c++ to compile pure dos programs (like TC), the programs always require windows (Unlike TCs programs). Is there a way I can compile pure dos programs? (Without using TC).
I can't seem to get dev-c++ to compile pure dos programs (like TC), the programs always require windows (Unlike TCs programs). Is there a way I can compile pure dos programs? (Without using TC).
Nope, MinGW can only create Win32 programs.
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
Do you know of any windows IDE that can create DOS programs?
You can build 32-bit console programs with gcc, MS Visual Studio etc, but those are 32-bit executables.
There are 16-bit compilers available, but gcc, as far as I know, doesn't support 16-bit processors at all - or at the least, not 16-bit x86 code.
I don't think the later versions of Turbo C++ (such as the 2005 version) allows DOS builds either.
I was going to recommed "bcc" (Bruce Evan's C Compiler) but it seems like it's only Linux, not available for DOS/Windows.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
Turbo C++ if you want 16-bit DOS. It's not a "Windows IDE" but it is an IDE and it can run on Windows (in a DOS box).
You can use DJGPP to create 32-bit DOS programs. It has a nice IDE called Rhide, again running in a DOS box.
If you want a real Windows IDE, you can use any of the IDE's people have mentioned here in the past. You just have to use the right compiler.
I _THINK_ that if you can find an old Borland C++ 3.x or thereabouts, you'd be able to use that as a Windows [32-bit no less] application and build DOS executables. But it's not exactly "current crop" compiler/IDE - it was "current" when I was still living in Sweden some 12-13 years ago.
Or, if you can find a Visual Studio 1.x (1.52c is/was a VERY good version), that should be able to do that.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.