Subject: Re: how to use crosscompiler?
To: Luke Mewburn <lukem@NetBSD.org>
From: Nick Hudson <skrll@netbsd.org>
List: tech-toolchain
Date: 02/04/2004 12:49:58
On Wednesday 04 February 2004 11:18 am, Luke Mewburn wrote:
[...]
> How about we do this:
> * use absolute symlinks for the runtime libraries
> libfoo.so.M and libfoo.so.M.N.
> * use relative symlinks for the link-time library libfoo.so.
> ?
>
> 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
I think
usr/lib/libz.so -> ../../lib/libz.so
usr/lib/libz.so.0 -> /lib/libz.so.0.3
is all that is needed.
ld.elf_so uses the soname to find the library and I can't think of anything
that directly references the real library object.
Nick