Subject: Re: dynamic linker in NetBSD
To: , <netbsd-help@NetBSD.org>
From: Nick Hudson <skrll@netbsd.org>
List: netbsd-help
Date: 02/06/2004 09:16:14
On Friday 06 February 2004 9:06 am, Madhvesh R S wrote:
> Hi,
> 
> I am referring to NetBSD-v1.6. Can any one tell me which part of code in
> libc folder implements the dynamic-linker for NetBSD?

Its not in the libc directory...

> I want to know the source path of this code in the distribution. Is this
> similar to linux-glibc ld.so? But i am not finding equivalent ld.so in
> NetBSD system which can be used while executing any executbale (a.out)

... you want src/libexec/ld.aout_so or maybe src/libexec/ld.elf_so

> In NetBSD is it possible to provide another dynamic linker to gcc compiler
> instead of default ld.so used for application execution?
> But i have one doubt.., in NetBSD ld.so i am not finding in /usr/lib path,
> whether this is part of some other library name or it will be present
> in different path?

You can specify a different dynamic linker with the -dynamic-linker gcc/ld 
option.

HTH,
Nick