Date: Sun, 21 Jul 1996 11:10:21 +0200 (IST) From: Eli Zaretskii To: Bruce Foley 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: 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.