From owner-freebsd-current Sat Apr 10 3:54:39 1999 Delivered-To: freebsd-current@freebsd.org Received: from gratis.grondar.za (gratis.grondar.za [196.7.18.65]) by hub.freebsd.org (Postfix) with ESMTP id 3529114EDB; Sat, 10 Apr 1999 03:54:30 -0700 (PDT) (envelope-from mark@grondar.za) Received: from greenpeace.grondar.za (greenpeace.grondar.za [196.7.18.132]) by gratis.grondar.za (8.9.2/8.9.2) with ESMTP id MAA98914; Sat, 10 Apr 1999 12:52:16 +0200 (SAST) (envelope-from mark@grondar.za) Received: from grondar.za (localhost [127.0.0.1]) by greenpeace.grondar.za (8.9.3/8.9.3) with ESMTP id MAA94100; Sat, 10 Apr 1999 12:52:14 +0200 (SAST) (envelope-from mark@grondar.za) Message-Id: <199904101052.MAA94100@greenpeace.grondar.za> To: Peter Wemm Cc: jdp@freebsd.org, obrien@freebsd.org, current@freebsd.org Subject: Re: Libraries with library dependancies In-Reply-To: Your message of " Sat, 10 Apr 1999 18:10:50 +0800." <19990410101057.EF0BC1F4D@spinner.netplex.com.au> References: <19990410101057.EF0BC1F4D@spinner.netplex.com.au> Date: Sat, 10 Apr 1999 12:52:13 +0200 From: Mark Murray Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Peter Wemm wrote: > > cc -O -pipe -I/usr/src/gnu/usr.bin/perl/miniperl/../../../../contrib/perl5 -I > /usr/obj/usr/src/gnu/usr.bin/perl/miniperl -I/usr/obj/usr/src/tmp/usr/i nc > lude -static -o miniperl miniperlmain.o -lperl -lm -lcrypt > ^^^^^^^^^^^^^^^ > > /usr/obj/usr/src/tmp/usr/lib/libcrypt.a(crypt-shs.o): In function `crypt_sh s' : > This is only the case for -static.. Shared libraries have dependency > information, static libraries do not. This makes some degree of sense, but could there not be (was there not?) a mechanism that resolves ans many of the symbols as possible at "ar time", so that... > 2) compile libcrypt.a differently to libcrypt.so, ie: add in the md*.o and > sha*.o static binaries into libcrypt by using SRCS+= sha.c in the !PIC case ... happens automagically? > 3) help move ld.so to / so we can link everything dynamic.. :-) Hmm. It will still be broken for the diehards who insist on having everything static :-) M -- Mark Murray Join the anti-SPAM movement: http://www.cauce.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message