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=Ta+NonSXYj9HvPyZZRoOx0imhrDYi6IlDZBpwpSqqlM=; b=Z9PvpBWRBBvi AGWrbA2ypOE4eJgTyr15DcW2AEGJPDD+KjFUxrXv6tVEQg1bdUUlx+t+Er9iylMQPjZ2BIOqBJHMR qLCRzFSqajVcoScvr/IsLgqfYzFUTNk+Xgu2ws0avFCUv26FzBTVqQLppTGgcfQHkVEjGfL+FLudu RMVLQlkYQtJ/PSABmqCUMsWwjYDn/bZQjM2DSmeZFQXVX6WKWL++oBXVV3WtMI+jRabF5bSNwXufZ Mgr/acP/ptMmfplP74XdU7EnLjmCzGZsAcSBTznUkb72tbJpc0NLUqUwvl0D8vo48F5ZbDdpKZt+H b8n1lD6DYwaohu+iGp4mWg==; Date: Sun, 28 Jan 2024 19:11:34 +0200 Message-Id: <861qa15qnt.fsf@gnu.org> From: "Eli Zaretskii (eliz AT gnu DOT org) [via djgpp AT delorie DOT com]" To: djgpp AT delorie DOT com In-Reply-To: (djgpp AT delorie DOT com) Subject: Re: gcc complains about "no DPMI memory" References: <864jex5sqy DOT fsf AT gnu DOT org> Reply-To: djgpp AT delorie DOT com > From: "A. Wik (awik32 AT gmail DOT com) [via djgpp AT delorie DOT com]" > Date: Sun, 28 Jan 2024 17:05:17 +0000 > > On Sun, 28 Jan 2024 at 16:27, Eli Zaretskii (eliz AT gnu DOT org) [via > djgpp AT delorie DOT com] wrote: > > > > > > > > I increased the DPMI and XMS memory in the COMMAND .PIF file to 32768 > > > KB, and now I don't get the error message > > > > > > C:\proj\debug\tmp>gcc linecont.c > > > [no error message] > > > > > > But the compiler fails to produce any output files: > > > > What does go32-v2 report _after_ you increased the memory? > > 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.