delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2025/11/03/14:13:40

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 5A3JDaWY798204
Authentication-Results: delorie.com; dmarc=none (p=none dis=none) header.from=delorie.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=delorie.com
X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 5A3JDZGH798184
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=gnu.org
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=gnu.org
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 5A3JDZGH798184
Authentication-Results: delorie.com;
dkim=pass (2048-bit key, unprotected) header.d=gnu.org header.i=@gnu.org header.a=rsa-sha256 header.s=fencepost-gnu-org header.b=gagq+v0I
X-Recipient: djgpp AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
mime-version; bh=uwco28ysTCC7F4SI42FzKUEnIDtg863FjoiyCt/ZYd8=; b=gagq+v0IyiGV
x5EfLOrGqcuz95nGkJfp+PDAQTkVNkH44AdDt7idW5wFy3X+0tNdCng3RIkA1quzaH8RhoYcFe2bP
YAXqAWchYXabva+pVQqYxzxfk2TcF9YwN0T4XHhdL/qL+0opYLl5n5MdrbDIazyJp6aLaylnPEimp
9TSWOUw8aF6XFloabRARxqDd7IsVpBs6b+ngMP3IuEvsGJAjp/EGFCQjH9O4tkZYCEnikvZjOls1l
O6VzUfGBMIv5qc9Zw3TL1f7nnIJuL1VBZEzEyqitzMOEcxgAVwchu9uOtL8Fvy5/eKmqNqzro+p6j
1ml5HTeNcJNlDBlTYd1LlA==;
Date: Mon, 03 Nov 2025 21:13:24 +0200
Message-Id: <861pmfgca3.fsf@gnu.org>
From: "Eli Zaretskii (eliz AT gnu DOT org) [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com>
To: djgpp AT delorie DOT com
In-Reply-To:
<V082qFEnlxirTYqs8R-UefRunm4GXvZzZVUYxu7qHKhCztWWHgw1wDY3zLzs9DsUg0BY0KASkEUBK1eansTRxN82AY4HyPVkvpE3w2DzhaI=@proton.me>
(djgpp AT delorie DOT com)
Subject: Re: How to cross compile djgpp software from Unix to DOS?
References: <ahuNp1rAxw3Ko15_Mn4lCOaOI5eV9RjS8SdHWlzh3PZKtZK2wXG6jUKt1P3_YK1jX6BL_bHBdLjobDxyB7FMz3UM5t3t14ACCv3lFR2QIuc=@proton.me> <86v7jsgumx DOT fsf AT gnu DOT org> <V082qFEnlxirTYqs8R-UefRunm4GXvZzZVUYxu7qHKhCztWWHgw1wDY3zLzs9DsUg0BY0KASkEUBK1eansTRxN82AY4HyPVkvpE3w2DzhaI=@proton.me>
Reply-To: djgpp AT delorie DOT com

> Date: Mon, 03 Nov 2025 18:53:36 +0000
> From: "John Doe (altaptitude AT proton DOT me) [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com>
> 
> > > Date: Sun, 02 Nov 2025 16:43:45 +0000
> > > From: "John Doe (altaptitude AT proton DOT me) [via djgpp AT delorie DOT com]" djgpp AT delorie DOT com
> > > 
> > > I have a djgpp cross-compiler (i586-pc-msdosdjgpp-gcc) setup on GNU/Linux after following the instructions on the website and have confirmed it functions correctly. However i'm not sure how i can use it to compile djgpp software, such as emacs, for DOS. The v2gnu/ emacs READMEs as well as msdos/INSTALL in the emacs source tree only explain how to do it on a DOS system with djgpp.
> > 
> > 
> > Emacs doesn't support cross-compilation, because part of the Emacs
> > build process needs to run the Emacs binary just built.
> > 
> > This has nothing to do with DOS or DJGPP, it's just a missing feature
> > in Emacs: no one has yet figured out how to remove this limitation.
> 
> Ok i guess Emacs was a bad example, however i'm having trouble with other djgpp software too. Djgpp's Bash docs also only have instructions for compiling on DOS, and when i tried running 'make bash.exe CC=i586-pc-msdosdjgpp-gcc' it would fail because it would try to run the .exe file in the directory (./mksyntax.exe) which obviously a GNU/Linux system can't do so that would fail. I couldn't find where exactly it was instructed to run those so i couldn't remove that. I had no success running the configure scripts myself with --host=i586-pc-msdosdjgpp or CC=i586-pc-msdosdjgpp-gcc either. 

Which version of Bash did you try to build?  Maybe they dropped DJGPP
support at some point?  Look into the configure script to see if DJGPP
is supported.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019