www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/23/02:11:22

Date: Tue, 23 Jul 1996 09:05:20 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: j DOT aldrich6 AT genie DOT com
Cc: djgpp AT delorie DOT com
Subject: Re: Error compiling Emacs 19.31
In-Reply-To: <199607230249.AA293040144@relay1.geis.com>
Message-Id: <Pine.SUN.3.91.960723090127.9913L-100000@is>
Mime-Version: 1.0

On Tue, 23 Jul 1996 j DOT aldrich6 AT genie DOT com wrote:

> >>> gcc.exe: installation problem, cannot exec `c:/djgpp/bin\ld.exe': Not
> enough
> >>> memory (ENOMEM)
> 
> It seems that the ld crash occurs *only* when there is not enough free
> *physical* RAM.  It has nothing at all to do with EMM386, except as
> regards the memory it uses.  Here are some round figures; I'll play with
> them some more tonight to narrow it down some:
> 
> go32-v2 reports:  5572K physical, 11062K virtual     --- Result:  CRASH
> go32-v2 reports:  5940K physical,  9704K virtual     --- Result:  CRASH
> go32-v2 reports:  6988K physical,  9704K virtual     --- Result:  works ok

What about DOS memory?  How much free RAM do you have under 1MB mark at 
the point where ld.exe is invoked?  (One way of testing this would be to 
have a program that reports memory renamed to ld.exe, then run Make.)

Also, is your ld.exe (or Make, or Gcc) stub-edited to 64KB transfer 
buffer?  If so, try stub-editing them to 16KB and see if that helps.

- Raw text -


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