Subject: Re: Static Linking
To: Curt Sampson <cjs@cynic.net>
From: Rick Kelly <rmk@toad.rmkhome.com>
List: netbsd-users
Date: 01/20/2003 20:48:55
Curt Sampson said:
>Couldn't you just not put the .o files in an archive, instead including
>each one individually in the final link? (After all, all a static library
>is is a convenient way of storing a bunch of object files.)
Yeah, but that's pretty ugly.
In UNIX V5, to compile CC, you cd to the directory, cc *.c, and then link
by hand. A step backwards for Sun.
But seriously, consider how gross this is. Note also, that Sun will not
have a /rescue or anything similar, but will have a runtime linker that
goes looking for shared libraries in various alternate places, including
/etc.
--
Rick Kelly rmk@rmkhome.com www.rmkhome.com