cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/05/13:07:16

Date: Wed, 5 Aug 1998 20:07:09 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: sl AT psycode DOT com
cc: djgpp AT delorie DOT com
Subject: Re: RHIDE, commandline-line and linking
In-Reply-To: <iCdMCj1ZQ5j2-pn2-u2Hjd1eiSfbu@portD18.Generation.NET>
Message-ID: <Pine.SUN.3.91.980805200219.13472A-100000@is>
MIME-Version: 1.0

On 5 Aug 1998 sl AT psycode DOT com DOT REMOVE_THIS wrote:

> > I use around 12 libraries in my editor.
> 
> 	Ok, but in the case of linking 100 .o files together.. Is _that_ 
> possible?

The problem is not with the number of object files or the libraries.  The 
problem is with the total number of symbols that these include.  The GNU 
linker is a memory hog: it eats up a lot of memory per each symbol, so 
you could run out of virtual memory when linking extremely large 
programs.   For example, linking Emacs requires about 9MB of memory and 
produces an executable less than 2MB.

100 object files shouldn't be a problem, though.

- Raw text -


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