Subject: Re: libexec
To: None <netbsd-help@netbsd.org>
From: David Laight <david@l8s.co.uk>
List: netbsd-help
Date: 03/06/2004 15:54:43
> > Also after building, how to use this newly created libexec
> > library with sample programs to use with gdb source level
> > debugging?
> 
> I don't think you can easily, you'll probably have to install is in place
> of /usr/libexec/ld.elf_so

You can specify --dynamic-linker my_ld.elf_so when linking a program
(probably as -Wl--dynamic-linker,my_ld.elf_so to cc) to get a non-standard
dynamic linker used.  Whether you can debug ld.elf_so with gdb is another
problem...

	David

-- 
David Laight: david@l8s.co.uk