Subject: RE: dynamic linker in NetBSD
To: Nick Hudson <netbsd-help@NetBSD.org>
From: Madhvesh R S <madhvesh.s@ap.sony.com>
List: netbsd-help
Date: 02/06/2004 15:06:11
Hi,

Thanks for the reply.
I want to know the path in which NetBSD gcc compiler specs file will be 
present. I think i need to modify this file to go ahead with my own
dynamic linker

-MS

-----Original Message-----
From: Nick Hudson [mailto:skrll@netbsd.org]
Sent: Friday, February 06, 2004 2:46 PM
To: Madhvesh Sulibhavi; netbsd-help@NetBSD.org
Subject: Re: dynamic linker in NetBSD


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