delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2025/11/08/14:29:15

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 5A8JT4l3131998
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 5A8JT3nT131981
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 5A8JT3nT131981
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=Y7lyescZ
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=1762630141; x=1763234941; 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=RpUtIzN9haSZvThxvWd8hpvfWvySE26inM5HzYRK5FA=;
b=Y7lyescZE0rjy8XmjgSED9rgjCboSnQZPemS+SCq5aTNVSkbvc83Fta95QA3DzdFug
1QHCRRBlMP+ciuVaqkYY4MzVW59M91hKtkQsHVxtMR7a4eg5lXh2w/tqym2Fb862jGXE
Y7mv1WunJUoH7o28CFBLApsg09cPhsL91OrRk85ji2QbqOVlXLxaSHnbElwK5IVdPKr8
3470RDZqJW2Wjq/J2EhlFxDOlTslSkErOG9COkPvxJih7gWuM/BWXy/uf9yrpBtAJRN4
cm65d9yVZupigr23IoIWkawcWeBhPO9NTG8KfIZZS5OMAsg6XQ0bbRJnnJGeAVzQ9uJI
hd9g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1762630141; x=1763234941;
h=content-transfer-encoding:to:subject:message-id:date:from
:in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from
:to:cc:subject:date:message-id:reply-to;
bh=RpUtIzN9haSZvThxvWd8hpvfWvySE26inM5HzYRK5FA=;
b=IWM8Ig9XEfj2fh9lm3zZ3dfR67LcnTeKZPFTYlMVRjI9Jtn218CLqIX9gr0kYCWlAx
LG/H6NZtrwXcWWI3B9osEZQlcO1/yUPo9yLa8kLMz78EKeWxnhIky4Nyg58gdgWQjc9N
Ind1+IKQz61nLU8PyWBT/YsIOH5IBDEqxgyvuml2hkVYRVWb7wu6cH+eSclG3Q8u0h5z
NFZ7kuW3Hguxa2eBr/ZYJ5dbsIMAdIcRB6mpGa+NDCLhWRFHiR0edldP5UKdPhC6Uy82
wp8RVol5s25JR5b/W+prp79sbCk4a+FkgRpXD+R+29pk9BjQJdXGZpajtIKbDbyw87QP
Is8w==
X-Gm-Message-State: AOJu0Yxvl0xt6ZRvcU/tlFQf+LXcJPiKkVvlz1/KR1SgGW5QnFCphFhl
leHVxhK/qEm80pUSwQjy3Drq3AA/B0/rbw5AY7bh/mawkgVTFT5Nu2Llehh/tTs0uqs/HmuY9Sr
atvtTZO65dS8oLdCLPqyydjPcf1umVj8PTPZJ
X-Gm-Gg: ASbGncvqa8g1EgzsS66AoJhsqgEFpliaNHTwsc9nZdrUViJxuF73NvYHAGSNrSnMUmG
PdJOpwOqI0c5DRkfdXS9aSV4eesgx+tQ1KqgxUZAr2FMcbyRdfc5+ai5/t3NIw8KOAVDOMQGEcb
xHiTMeQcz4QTvtdDS/zmJXeQr50hhTq5BTf+2c2+lVEh6hkeUIuGskSURCr1/1AtNVJ8Nc1s46y
EPp1WavtRDRJwQwwCGpg9aDWnIl0RLlUseFmaa3PwnO57R9YsOH7Ie69UjkSw==
X-Google-Smtp-Source: AGHT+IGJCPSGf19cq7dn8yeGlRDD8uk9VKeKPtKfhq1Q4cKWJQt2CfmrNhl2wO0ym1chvSn2AHLudP/phLMUwsPmRZY=
X-Received: by 2002:a17:907:7b81:b0:b71:5079:9702 with SMTP id
a640c23a62f3a-b72e0339aa8mr381043566b.21.1762630140837; Sat, 08 Nov 2025
11:29:00 -0800 (PST)
MIME-Version: 1.0
References: <ahuNp1rAxw3Ko15_Mn4lCOaOI5eV9RjS8SdHWlzh3PZKtZK2wXG6jUKt1P3_YK1jX6BL_bHBdLjobDxyB7FMz3UM5t3t14ACCv3lFR2QIuc=@proton.me>
<86v7jsgumx DOT fsf AT gnu DOT org> <V082qFEnlxirTYqs8R-UefRunm4GXvZzZVUYxu7qHKhCztWWHgw1wDY3zLzs9DsUg0BY0KASkEUBK1eansTRxN82AY4HyPVkvpE3w2DzhaI=@proton.me>
<CAAxjCExK7dC7X_4jenwzZNqjgkkw=osYeVmMiecpD6o73ATeUw AT mail DOT gmail DOT com>
In-Reply-To: <CAAxjCExK7dC7X_4jenwzZNqjgkkw=osYeVmMiecpD6o73ATeUw@mail.gmail.com>
From: "Stefan Ring (stefanrin AT gmail DOT com) [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com>
Date: Sat, 8 Nov 2025 20:28:49 +0100
X-Gm-Features: AWmQ_bkG1GHHmIYkFHW8VywwFVeinuBh6aIncbdib2hp8HeAot1-lEULZcsWQrU
Message-ID: <CAAxjCEyOw1Zn23+Y60AvBsBhoTvg+AGGV-zeYV0mA38x0RWxHg@mail.gmail.com>
Subject: Re: How to cross compile djgpp software from Unix to DOS?
To: djgpp AT delorie DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 5A8JT3nS131987
Reply-To: djgpp AT delorie DOT com

On Tue, Nov 4, 2025 at 10:16 PM Stefan Ring <stefanrin AT gmail DOT com> wrote:
>
> 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).

As my mind had turned to this topic anyway, I fired up a real machine
in order to test building it on bare-metal DOS. Sure enough, it was
slow as molasses, but it made me notice the source of that slowness:
the HD led would show constant activity. It looks as if smartdrv
became completely immobilized when doslfn is loaded. I started an
experimental CI build on GitHub Actions a few months ago, and it used
to take 2h25m to compile bash. Because of the discovery with the HD
led, I moved everything to a RAM drive, and now it finishes in 13
minutes. Still a lot longer than the 3-4 minutes it takes on Windows
XP/Vista, but a lot more reasonable. And somewhat reproducible, which
was the entire point of this exercise.

https://github.com/Ringdingcoder/dosbuild-test/actions/runs/19197309887

- Raw text -


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