DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 551J4dxn2398352
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 551J4dxn2398352
Authentication-Results: delorie.com;
	dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=jjsNUw9Q
X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AEB12385841F
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1748804678;
	bh=3FPVZgSwT+r3EYe28Oh+OEwqhpsKj5/SK9qBo9U8WpY=;
	h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
	 From;
	b=jjsNUw9QekXMHk1UpcQFg9Njbj6T/xv1e2Yn1bvEMDX3q1r27dGxQi06zxH3Hs83x
	 O+qipyeb4qgW+sA8DDGhIt5IjkJA6dbtHIsMOXEcApSg3C7QYanJw7vnDqRe7G+u37
	 PpnThhaZ0FQW67SDHaFUsoFFYf7sQP6mYfH5Z3xM=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7027A3858C62
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 7027A3858C62
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1748804616; cv=none;
 b=Sm7E2UnZbw+WDdM45cqgesRF9jmd+EMPAX2K4cQYHWC57pxLxJ8gZNkL03zW/3sKfJGBxX4FhsSQiJGP7piMB4NKc87w78HlTzQfoxyhYgOzzHPb/1jS7HT3yxu8aBMcWgmkcGo1jk4AAZ0IPBb2MaqubY7vBMipwVtLexMq+Mo=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
 t=1748804616; c=relaxed/simple;
 bh=wXbT/+g/782FV0hWo5yy3RT/QgOYYSzRKfEiN7g3ITw=;
 h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From;
 b=fUfNVZr1xm2sO+QlMVAu9YSnHhi8JIaE9mtiUGPrCg8dg4U24NYrKCI2iDMNrHzIbpVKRfYBKzJRkC1nCtoret4euqCge84Ty3SNomLZjuQhEW3vdkJLqzshok5KDBOtBLxpkmYOLJRRMLc5/lvstOd+epj7uDByzrikqzy7P/s=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7027A3858C62
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1748804615; x=1749409415;
 h=content-transfer-encoding:in-reply-to:from:content-language
 :references:to:subject:user-agent:mime-version:date:message-id
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=8Bur9+iV9qb3UB7KnQjTRnlJyOMOkRTlbsPgUzPAQt4=;
 b=i+kR0g8xTCo2BCB3HP/ek5dzZxwUGnx11D4YonWTysOeTEVxNyE3gn1zajQqxgPFpe
 Cnsiwq1pX2RFtBrjRdTtJfVoXf3JYpivzbx34zYMVG2mZRQ5l2r+NHhTL33b3LThUOdc
 eXtXQlvyK3k3ros51v+6/kpVxWRBBAheX6vBTLkWYEl4BC0OydrYBYVr73B3Fvw7qQk/
 kPgOs8QhlCBdBUPIKLqwsToNoAsmJFjbe8wYGAaIzRQ8fjlnobssfPLa6ho0cXXmrGJV
 ZjTLxgCaTFGTCJiQLT3UdgB6J/HhrFK6IwSB69eLruFi8X35JtyFk15V3JrvXfdOMi6I
 rwHA==
X-Gm-Message-State: AOJu0YwCKsm6AGz/MxC+9jCMroeowpOTXh5C5QPey46QfcAur4JzfqpY
 GQ7WZprgVvaAN6DWejlFzxG06irG2qrsyNytDH6L0XNn88b2MyrFF/Jc3RwH2A==
X-Gm-Gg: ASbGncuGPq6oX5XM+LajdNs1D5bQDsoNKrINctTOazRTjHvZ0Ziaw54hEI5WgjElL6x
 ET6xtBkM738IsLMI1PvNwT89kR9rRlslqdK+OUR8suk2Bl7CfhxrV+gBRhUcmIJW+Fgu1eirXp7
 uzwa1tb5GiG6WePow/cJhJNp5wYloNrrUgP0t5J7sjBUCVZ9cXs01R4KKClqD4P/N9whEoH9nFQ
 Mz/Q/J4kCvh7ocpb0XJDulZxE4cioR6i8bTVaeKz9vBCEv95ascRhaO9xRVyqqr/2SkBAUXNpM4
 XWcSIrd29B3QZuiHK9BzqH/rJfl7YjxAgU53CazWgUBjpD9TDB8X2KVUrbbW/vAx7Uynl9LCSIh
 h7A6BxaUw4r4QSzjmM+/jXTMohxWeFg==
X-Google-Smtp-Source: AGHT+IGDVdHWdt0oL+N6YouKoTi70zcIB/qHAYY6k2F1iqMcegQ3jpRRnjY0tWXRC9V7KHyVG2U0Bg==
X-Received: by 2002:a05:6402:42c8:b0:5ec:c990:b578 with SMTP id
 4fb4d7f45d1cf-605b796dbafmr5290766a12.19.1748804614877; 
 Sun, 01 Jun 2025 12:03:34 -0700 (PDT)
Message-ID: <7134029a-365b-483c-864f-de7de02b61fe@gmail.com>
Date: Sun, 1 Jun 2025 21:03:32 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: Compile as DOS application?
To: cygwin@cygwin.com
References: <CAAvCNcBVNa7WNeeTFfE90BZBbR=uPOnGjkfcZ9_V4tWPz4xeOA@mail.gmail.com>
 <20250531090010.ef1726d9646216cdca8751c6@nifty.ne.jp>
 <20250531093328.bbbc7535e942273e2344ca9f@nifty.ne.jp>
 <4e0a50e9-4465-4916-8cef-efa2b0ad9356@dronecode.org.uk>
 <CAD8GWsvZHq9o+mQLAdF6ZQ=Cx6scLwJH61sT0BXvEHfOaesc4g@mail.gmail.com>
 <CANGNY54xakPp2t996CDjJTV9fh4nOB=A67xLX9_GEWWYZd5MBg@mail.gmail.com>
Content-Language: de-DE, en-US
In-Reply-To: <CANGNY54xakPp2t996CDjJTV9fh4nOB=A67xLX9_GEWWYZd5MBg@mail.gmail.com>
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.30
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: =?utf-8?q?Hans-Bernhard_Br=C3=B6ker_via_Cygwin?= <cygwin@cygwin.com>
Reply-To: =?UTF-8?Q?Hans-Bernhard_Br=C3=B6ker?= <hbbroeker@gmail.com>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: cygwin-bounces~archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie.com@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 551J4dxn2398352

Am 01.06.2025 um 18:47 schrieb Eric J Korpela via Cygwin:
> To be more explicit, a text mode windows program is not a DOS program.  It
> will do anything useful on a DOS system without windows.

           ^ not

> If you desire 32-bit protected mode DOS programs, DJGPP may be your best
> option.  New builds of DJGPP are available at http://www.delorie.com/djgpp/
> .  I'm not sure if the current binaries run correctly under cygwin as they
> are programs that run under a DOS extender.

They won't, and Cygwin itself has no way of changing that. 64-bit 
editions of Windows cannot run anything 16-bit (technically, the V86 
mode is gone from both the CPUs and the system).  That does mean DOS 
itself is not available, and therefore nothing expecting to run in DOS 
can run either.

What Cygwin does have is a set of cross-compilation tools to the DJGPP 
environment.  Those allow you to cross-build DJGPP executables on 
Cygwin, but they can't run  there.

It takes something like FreeDOS in a VM to get the original DJGPP 
itself, or any of the programs it builds, to run inside any remotely 
up-to-date Windows.



-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

