From owner-freebsd-hackers Mon Jan 22 11:02:05 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA06018 for hackers-outgoing; Mon, 22 Jan 1996 11:02:05 -0800 (PST) Received: from gateway.sequent.com (gateway.sequent.com [138.95.18.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id LAA06013 for ; Mon, 22 Jan 1996 11:02:02 -0800 (PST) Received: from eng4.sequent.com (eng4.sequent.com [138.95.7.64]) by gateway.sequent.com (8.6.12/8.6.9) with ESMTP id KAA20629; Mon, 22 Jan 1996 10:44:29 -0800 Received: from localhost (bjj@localhost) by eng4.sequent.com (8.6.12/8.6.9) with SMTP id LAA27365; Mon, 22 Jan 1996 11:01:21 -0800 Message-Id: <199601221901.LAA27365@eng4.sequent.com> X-Authentication-Warning: eng4.sequent.com: Host localhost didn't use HELO protocol To: Greg Lehey Cc: davidg@Root.COM, hackers@freebsd.org (Hackers; FreeBSD) Subject: Re: stanford benchmark/usenix In-reply-to: Your message of "Mon, 22 Jan 96 13:58:56 PST." <199601221302.OAA11833@nixpbe.pdb.sni.de> Date: Mon, 22 Jan 96 11:01:21 PST From: Ben Jackson Sender: owner-hackers@freebsd.org Precedence: bulk In message <199601221302.OAA11833@nixpbe.pdb.sni.de> , you wrote: > > >Wouldn't it make more sense to have separate libraries for each > > >processor type, and to install the appropriate versions? > > I had thought > of a part of the system startup that checks the processor type and > puts in the correct hard links (symlinks are slower) before any > program gets started. How about the startup program `ldconfig' that generates a hints file where => /usr/lib/libc-i586.so.2.2. It can even tell at that point whether such an enhance library exists (for *any* library). The install might just construct the libraries from the generic libs and a few object files shipped with the distribution. --Ben