DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 5A4LGrgn1800818 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 5A4LGqYw1800800 Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: delorie.com; spf=pass smtp.mailfrom=gmail.com DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 5A4LGqYw1800800 Authentication-Results: delorie.com; dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=LwbvDs6Y X-Recipient: djgpp AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1762291009; x=1762895809; darn=delorie.com; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=lcvT5CvRk21frJVl7aFTGBefsBsnOP8xcIhYcmAyb+E=; b=LwbvDs6YZEElX+qOIU9qTdTMYtlq1tLfeZ36qkci3T5DDDmLQhwxStaGGVaP/VrCzx EAseBoCoIvQPF1tGWojUgBU5fAZpFoYtGm+WzcOySAfdP7CnEnmL91nseSI2WXBzKXda tafgkU7p8AJVN1G8eJRRo1mW5SDIM8AILQZKeo71uLDI/DUVha0n7g1ELe6UhEkES2mk +F4cacwtW2BPL4WxrFLxooAeOEyDE9cp01qaiSl7QO8oQKjBMeMsSWv+w+oe0ah+zLOF aappXRf02Icx5CX/ZwOrLYqkZ6hM/gMy/NOz5nGHYJ7Z41SCVqp71NTpNwrjvWqfRbgI d5RA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1762291009; x=1762895809; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=lcvT5CvRk21frJVl7aFTGBefsBsnOP8xcIhYcmAyb+E=; b=EedIPMD5kYVUpbQMqddL5u/pmp1h2isAQJXg+7Xrg5cV1fkOt9pqa5tCbvcHzW844q AswBVk5Ipl9CN2xgxVCXrdIuCvo9IDlFW1+rnAbKNQU2kyLqXQFbCAhUTGg/h4p7X7dz zoHifbWV6sAK2RLiX+YdBLNjOTearguEAZv8owaK+RlgjtBEV70zTVT5SdDTAClXcgl8 N4oslDAs8JCgYcrHp5RjOqc/LSQp6iegjMNjZWvgro0y/HjfaPuTfCFpT0Hzo1c2oYMA vU7Mzoh2k9r+xA8Htt0QTTPg4V7AU34lCQXudtUEOgbWN/m16axoAfBbcwtUwNUtkSXQ esnQ== X-Gm-Message-State: AOJu0YwIff//TLYsnnQSQoVyspRSbVjC8OHMOhTf6/z/Rfes4eaYDHiQ ML8Hv0e4VUu6hjmUurAp/zsK1ibdfkZckgh7V9Cm1AJF06w1vtjK7kgPHUDswjUr3XomjYtDjwZ Q3pvY47n5QuWIC7J9xij2qPn7Ylz1I9qfCKvX X-Gm-Gg: ASbGncsGgAT/3RqNspD0wlT10ju5IHId7FPpWjX5yHliucV/hHLwT7iZdmkj/WoEM6e 7MooU/DkpJV35614K0akOmoMC5RIx1881QKG87vo35ghnF2rwoOfZo9CgkpFPzInLG0L+1jc9Mf bN85LB/ZdM2V17L3algqwO24CxI2asliQ2jl+3TQCbwuME9adBEfIQ4RhCBQQvJgur/Q/WhF86+ EzeolkpIYym3mMIj9EeIQVmNbWy5Yp3muOSe/fpLFmAs8czIXSNfk8Cl1I4OQ== X-Google-Smtp-Source: AGHT+IGdqcirP1fO0cIse7ZRHwmOB/K+E5lUKMKoF1hM+09VndGc5fD4zBJu9b4EGJRAGm4d0icIY3P6QaH4s/KXABw= X-Received: by 2002:a17:907:944f:b0:b6d:f416:2f3 with SMTP id a640c23a62f3a-b7216f647f9mr514547666b.19.1762291008882; Tue, 04 Nov 2025 13:16:48 -0800 (PST) MIME-Version: 1.0 References: <86v7jsgumx DOT fsf AT gnu DOT org> In-Reply-To: From: "Stefan Ring (stefanrin AT gmail DOT com) [via djgpp AT delorie DOT com]" Date: Tue, 4 Nov 2025 22:16:37 +0100 X-Gm-Features: AWmQ_bmq8Wk6l8rXcMPyihcRZc3ZHRDv8V7QzENfTvhhcfHwz5UedZgaBjet8Nw Message-ID: Subject: Re: How to cross compile djgpp software from Unix to DOS? To: djgpp AT delorie DOT com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 5A4LGrYv1800805 Reply-To: djgpp AT delorie DOT com On Mon, Nov 3, 2025 at 7:54 PM John Doe (altaptitude AT proton DOT me) [via djgpp AT delorie DOT com] wrote: > 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. Unfortunately, bash is also a very problematic one. The tarballs are a mess. The git repo even more so. I managed to cross-compile it last year with a lot of hackery, and the result of this would refused to work and produced all kinds of unexpected errors. Building it natively on Windows XP or Vista 32bit works and produces a working executable. Building on DOS with doslfn also works, but is significantly slower (I would think around 10 times slower).