Re: [Dev-C++] 16 or 32 bit c program
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Andres R. <lo...@ho...> - 2003-10-27 12:49:05
|
> John Ramshur wrote: > > I have a console application written it C using > > Dev-C++. I need to know if it is a 16 or 32 bit > > application. Can anyone help? > > MinGW compiles 32 bit code, that is, it will only run under Windows in > a command prompt (or with wine :) > If you want your program to run in DOS or DOS-mode, then use DJGPP, it > is a GCC port for DOS, that compiles 16 bit code. To be exact, DJGPP compiles 32bit code. It uses cwsdpmi extender to run the code under protected DPMI 0.9 mode (like Watcom uses DOS4GW extender). To run DJGPP programs under windows, cwsdpmi is not needed, as windows is in protected mode. Real mode 16bit programs can be built with Borland C/C++ compiler (version less than 3.x) or with Turbo C compiler or tools like that. > -- > Greetings, > Bal_zs A. |