Compile as DOS application?

Takashi Yano takashi.yano@nifty.ne.jp
Sat May 31 00:33:28 GMT 2025


On Sat, 31 May 2025 09:00:10 +0900
Takashi Yano wrote:
> On Sat, 31 May 2025 00:39:24 +0200
> Dan Shelton wrote:
> > Hello!
> > 
> > Does Cygwin have a compiler which allows compiling ISO C applications
> > as DOS *.exe?
> 
> If you mean 16-bit MS-DOS *.exe by "DOS *.exe", the answer is no.
> If you mean 32-bit or 64-bit win32 console app, install the package
> mingw64-x86_64-gcc-core-12.4.0-1 (64-bit)
> or
> mingw64-i686-gcc-core-12.4.0-1 (32-bit)
> and compile with
> mingw64-x86_64-gcc-core-12.4.0-1 (64-bit)
> or
> mingw64-i686-gcc-core-12.4.0-1 (32-bit)

Sorry, I meant
-------------------------------------
and compile with
x86_64-w64-mingw32-gcc (64-bit)
or
i686-w64-mingw32-gcc (32-bit)
-------------------------------------

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>


More information about the Cygwin mailing list