Date: Wed, 5 Aug 1998 20:07:09 +0300 (IDT) From: Eli Zaretskii To: sl AT psycode DOT com cc: djgpp AT delorie DOT com Subject: Re: RHIDE, commandline-line and linking In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.