Date: Tue, 23 Jul 1996 09:05:20 +0200 (IST) From: Eli Zaretskii 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: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.