www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/01/16/12:31:47

Date: Mon, 16 Jan 95 10:54:31 -0500
From: dj AT stealth DOT ctron DOT com (DJ Delorie)
To: eliz AT is DOT elta DOT co DOT il
Cc: enok AT lysator DOT liu DOT se, djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: Optimize your PC

> Was that 5MB number when compiling or when linking?  If when
> compiling, then how large is the largest GCC source file?
> My 2.5MB figure was observed when compiling Makeinfo.c which
> is 7500 lines long (9000+ lines with #include'd headers).

Compiling.  Some of the gcc files have really big functions, and the
optimizer needs a lot of space to optimize it.

> While it is true that the more RAM the better (lucky you!!),
> I would say that even with 16MB compiling GCC is no big deal:
> just give 1MB less to RAM disk; I don't think the compilation
> time would be much longer.  (Of course, if you spend most of
> your spare time compiling GCC, your view of this issue will be
> a bit different ;-)

The ramdisk needs to be that big to hold cccp.c's preprocessed file.


- Raw text -


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