Message-Id: <3.0.1.16.19980114190959.31ef171c@main.arcticnet.no> Date: Wed, 14 Jan 1998 19:09:59 +0100 To: Eli Zaretskii From: Ove Kaaven Subject: Re: Memory-devouring ranlib de luxe Cc: djgpp AT delorie DOT com In-Reply-To: References: <3 DOT 0 DOT 1 DOT 16 DOT 19980114165117 DOT 20e71bfe AT main DOT arcticnet DOT no> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Precedence: bulk At 17:58 14.01.98 +0200, Eli Zaretskii wrote: > >On Wed, 14 Jan 1998, Ove Kaaven wrote: > >> I *did* use the 's' flag on Linux. As far as I understand, Linux 'ar' does >> not support 'coff-go32' (it's not listed when I type ar). > >That's what I though, but I wanted to be sure. > >I think the out-of-memory message is not the real problem. You might be >running out of CWSDPMI's internal tables. Did you try to bump up its >heap size with CWSPARAM? See section 6.4 of the DJGPP FAQ list for more >details. Thanks for the suggestion, I tried it now, but it didn't help. The 'internal heap' was at 128 paragraphs I think, so I tried 512, 1024, and 8192, and I also freed 10 more megabytes of HD space. No go. "Memory exhausted". (I'm using cwsdpmi r3, if that makes any difference.) >Another possible problem might be that some object files are in a.out >format, as opposed to COFF (the FAQ mantions this as well, in section >8.18, which see). Hardly, I compiled all the .o files (there are 403 of them, it took a while) with djgpp, and I assume djgpp emits .o files in the correct format. >If nothing else works, you could build Binutils on Linux with coff-go32 >support. But if 130MB is indeed not enough (I doubt it), it will >probably not work on Linux as well. Sigh, looks like I have to do something like that, then. I'm not quite sure how, but if it's not too tricky I'll probably find out. And I'll be upgrading the Linux server to 128 Mb RAM quite soon anyway (it already has 64 Mb RAM and 150 Mb swap space), and it did run ar successfully before (though it took a while with heavy load), so I guess it should work. Anyway, thanks for the advice.