Date: Sun, 21 Jul 1996 11:10:21 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Bruce Foley <brucef AT central DOT co DOT nz>
Cc: djgpp AT delorie DOT com
Subject: Re: How do I create my own libraries ?
In-Reply-To: <4srffn$loe@status.gen.nz>
Message-Id: <Pine.SUN.3.91.960721110909.5526R-100000@is>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


On Sat, 20 Jul 1996, Bruce Foley wrote:

> BTW, I was wondering, when a program uses a function
> from a library, does the whole library get linked, or just
> the function you are calling?

Only the function(s) you call are linked.  Otherwise, every DJGPP program 
will be at least the size of libc.a, which is 530KBytes.