delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2024/01/28/12:44:49

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
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=EY2RRwF8qqKEgW7fYZvjyQtSJCl2oHSTpnc18jUwRJ8=; b=chy1PakExNyb
P372zL/028eOcZ9K8ooauZupr3/GJhEuS0h83ZSG8s/45GB6+CaIerphPle8Sn0wiGNRT4amIVKmH
AbG8gUr7d/b3arLeW8i8YJ22oQ6eqz0Cbf2CAIKMKMaF3haqzK3D0iES+GbUNTtjavB+erFVJfIcg
EVdQzmK4IdK5K2yDcYfqEjU85NtmL+6R+46QmD83+ep161HAb+Pf4SACbJvy0G62jtRaVoz0b6kjA
fcJf/nq6/AJ43cDDAM40AX3SNE2cgdwYoXhKCOBy6Ocfbv+qt4m2HuGCl1J0sv7da1OxM/Vy80iWV
d/WC3F4tmTmgFkW0DNRYTg==;
Date: Sun, 28 Jan 2024 19:44:40 +0200
Message-Id: <86zfwp4ak7.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:
<CALPW7mT5b1njTC9V=c4kdYPQWduRM2+kU7ukvn50n6Ria8-+cA AT mail DOT gmail DOT com>
(djgpp AT delorie DOT com)
Subject: Re: gcc complains about "no DPMI memory"
References: <CALPW7mTrJNPWSFE+q-NdQ4k2KUYA6MuWfUrWX3Qh_C7QAgXA7g AT mail DOT gmail DOT com>
<864jex5sqy DOT fsf AT gnu DOT org> <CALPW7mT+jG2mf9-fs6QRJvvAao3t5otfKMrduUd_1cUFBtKSQQ AT mail DOT gmail DOT com>
<861qa15qnt DOT fsf AT gnu DOT org> <CALPW7mT5b1njTC9V=c4kdYPQWduRM2+kU7ukvn50n6Ria8-+cA AT mail DOT gmail DOT com>
Reply-To: djgpp AT delorie DOT com

> From: "A. Wik (awik32 AT gmail DOT com) [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com>
> Date: Sun, 28 Jan 2024 17:25:11 +0000
> 
> On Sun, 28 Jan 2024 at 17:12, Eli Zaretskii (eliz AT gnu DOT org) [via
> djgpp AT delorie DOT com] <djgpp AT delorie DOT com> wrote:
> >
> > >
> > > C:\proj\debug\tmp>go32-v2
> > > go32/v2 version 2.0 built Oct 18 2015 09:41:08
> > > ...
> > > DPMI memory available: 32209 Kb
> > > DPMI swap space available: 0 Kb
> >
> > Try enlarging it more, I'm not sure 32MB is enough for GCC 9.  Don't
> > forget that gcc.exe is just a driver: it invokes cc1.exe (the
> > compiler), then the assembler, and then the linker.  Each one of those
> > also needs memory.  And GNU tools are designed and implemented
> > explicitly to require vast amounts of memory.
> 
> I set it to 65535 KB, the highest setting allowed, and now it works!

Great, happy hacking.

> "Explicitly to require vast amounts of memory"?  Like an end in itself?

Yes.  The idea was that if you take this as a design goal, the
program's code will be very different from a typical Unix program
(recall that Unix was originally a 16-bit OS), so there will be no
danger someone will try to sue GNU for stealing commercial code of
other systems.

> Why did I never have to change this setting before?

I don't know.  Maybe you've run Windows 98 in a different VM?  Or
maybe you used an older version of GCC/Binutils?

- Raw text -


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