Compile as DOS application?
Jon Turney
jon.turney@dronecode.org.uk
Sun Jun 1 13:16:24 GMT 2025
On 31/05/2025 18:50, Lee wrote:
> On Sat, May 31, 2025 at 11:16 AM Jon Turney wrote:
>> On 31/05/2025 01:33, Takashi Yano via Cygwin wrote:
>>> 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?
>>
>> Actually, we do have a package for an (old) version of djgpp, which I
>> believe targets DOS executables.
>
> At this point I'm pretty much a cargo-cult programmer, but for
> whatever it's worth
>
> i686-w64-mingw32-gcc
> will build a non-gui *.exe program - which is a dos program, yes?
Technically, yes, but not usefully so.
All Windows programs are also DOS programs which say "This program
cannot be run in DOS mode" (or similar).
(search term: "DOS stub")
More information about the Cygwin
mailing list