* Oscar Bonilla <[EMAIL PROTECTED]> [000308 13:37] wrote:
> i'm working on the C library, and to make debuggin easy i've copied
> /usr/src/lib/libc to another directory and only build libc.a.
> 
> i've also copied /usr/src/lib/csu/i386-elf to another directory and 
> have enabled debug symbols on both csu and libc.
> 
> to try things out i create a static binary and coerce it to use my
> C library instead of the system's one.

I'm pretty sure this can be done a hell of a lot easier by using shared
libraries and using the enviornment variables LD_LIBRARY_PATH and
LD_PRELOAD, see the rtld manpage for more help.

good luck,
-Alfred


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to