DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 5A3Irm9l791501 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 5A3IrlFf791478 Authentication-Results: delorie.com; dmarc=pass (p=quarantine dis=none) header.from=proton.me Authentication-Results: delorie.com; spf=pass smtp.mailfrom=proton.me DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 5A3IrlFf791478 Authentication-Results: delorie.com; dkim=pass (2048-bit key, unprotected) header.d=proton.me header.i=@proton.me header.a=rsa-sha256 header.s=protonmail header.b=T1m2dY9q X-Recipient: djgpp AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1762196022; x=1762455222; bh=VV2HWgb26xOs1Bnmm6E46yX5ZT1144Atx9KcJrgGEWA=; h=Date:To:From:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=T1m2dY9qiThPZ9ljV+jLuCtb3z1w8zQR8owTo4RbAqYaMdWjyr65kDLnF44jGENpU OJrCcosQP/V1MTdWG+WdGAvnlG3AtaB/Ac7rTRRhHgSLj3ATgDTmkkyNdKla86yrTO RTgC3z3ypBevohoLr9lk35jT43qNvWngZXceRFI8qW9fZKB26F3m3EHUig1AJf0dXh F6YQI7wLyuOLip3/fYopeAIvvs24wUiC7K1b1ukpFCnPLmERbnVAamWOJIm5zoh86j 5v4Ktpog6D1xewet0t1LdUaj23bQCk7+1h7yy2kiFIh/5ffHGmvn4hq1VLw9q6xJnN F2nVC2PjamXIQ== Date: Mon, 03 Nov 2025 18:53:36 +0000 To: djgpp AT delorie DOT com From: "John Doe (altaptitude AT proton DOT me) [via djgpp AT delorie DOT com]" Subject: Re: How to cross compile djgpp software from Unix to DOS? Message-ID: In-Reply-To: <86v7jsgumx.fsf@gnu.org> References: <86v7jsgumx DOT fsf AT gnu DOT org> Feedback-ID: 130132440:user:proton X-Pm-Message-ID: e9d58db258da0a3f9cd373dcb8f5dae3c58852e1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 5A3IrmFe791487 Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > > 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.