www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/02/03:17:30

Date: Thu, 2 May 1996 10:01:22 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: pfrisbie AT trmx3 DOT dot DOT ca DOT gov
Cc: djgpp AT delorie DOT com
Subject: Re: Size of executable
In-Reply-To: <4m8cd3$1kmk@power5.rz.uni-hohenheim.de>
Message-Id: <Pine.SUN.3.91.960502095848.6400Q-100000@is>
Mime-Version: 1.0

On 1 May 1996 pfrisbie AT trmx3 DOT dot DOT ca DOT gov wrote:

> It's my understanding that all functions in libc get added weather they are 
> needed or not.

Wrong!  Only the functions called by your program are linked in.  
Otherwise, the size of the smallest program will be 530K (the size of 
libc.a), and most programs would have the same size.

- Raw text -


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