Subject: Re: how to use crosscompiler?
To: Hubert Feyrer <hubert@feyrer.de>
From: Luke Mewburn <lukem@NetBSD.org>
List: tech-toolchain
Date: 02/04/2004 22:59:32
--nHJAUhyIZkPvF01C
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Feb 04, 2004 at 12:57:18PM +0100, Hubert Feyrer wrote:
  | On Wed, 4 Feb 2004, Luke Mewburn wrote:
  | > This would result in:
  | > 	usr/lib/libz.so		-> ../../lib/libz.so
  | > 	usr/lib/libz.so.0	-> /lib/libz.so.0
  | > 	usr/lib/libz.so.0.3	-> /lib/libz.so.0.3
  |=20
  | Why not:
  |=20
  |  	usr/lib/libz.so		-> ../../lib/libz.so
  |  	usr/lib/libz.so.0	-> libz.so
  |  	usr/lib/libz.so.0.3	-> libz.so
  |=20
  | or
  |=20
  |  	usr/lib/libz.so		-> libz.so.0.3
  |  	usr/lib/libz.so.0	-> libz.so.0.3
  |  	usr/lib/libz.so.0.3	-> ../../lib/libz.so.0.3
  |=20
  | as we have right now? Yes, one more level of indirection - but it keeps
  | working, and rebuilding/relinking fixes this.

Because it introduces an unnecessarily symlink lookup from libz.so.0
to libz.so.3 for programs compiled before the libraries were moved
to /lib.

My suggestion retains the minimal run-time impact on those programs
of the current method, whilst fixes your compile time issue.

--nHJAUhyIZkPvF01C
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)

iD8DBQFAIN6kpBhtmn8zJHIRAvFuAKCP0d7m+9146ki9nq92V5jod6LlfgCfb1mR
JK1uEIT4rCNhdQpGqH3MEAw=
=bWzY
-----END PGP SIGNATURE-----

--nHJAUhyIZkPvF01C--