Date: Sun, 22 Mar 1998 16:10:55 +0300 (IDT) From: Eli Zaretskii To: Ian Chapman cc: djgpp AT delorie DOT com Subject: Re: :Memory Exhausted In-Reply-To: <3514675C.76A1@sympatico.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Sat, 21 Mar 1998, Ian Chapman wrote: > I have 24M of RAM on my 486DX2 66. Not modern any more but it still > hacks. I am trying to port quite a big library over to djgpp, it takes > over 1 hour to compile all the sources. How many source lines does that library have? Is the time to compile consistent with the compilation speed stated by the DJGPP FAQ list (in section 7.1)? One way to count lines in all source files under current directory is like this: cat .../*.[ch] .../*.cc .../*.cxx .../*.[ch]pp | wc (`cat' and `wc' are two programs from the GNU Textutils package, available in v2gnu/txt122b.zip.) If the compilation speed you are getting is much lower than the FAQ says it should, you should check your system configuration as per section 3.9 in the FAQ. > I`m running from rhide in a dos > window under win95. When I link I get the following error message from > the linker:- > > Error filename.o: could not read symbols: Memory exhausted. Please report the relevant details: how large is the library, what does go32-v2 print when invoked with no arguments (under rhide in the DOS box), and how much memory does ld consume before dying. Without these details, it is very hard to know whether this problem is real or related to your system configuration. Also, please tell which version of Binutils you are using.