Date: Wed, 8 Mar 2000 16:30:58 -0800 From: Alfred Perlstein <bright@wintelcom.net> To: Oscar Bonilla <obonilla@fisicc-ufm.edu> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: inner workings of the C compiler Message-ID: <20000308163057.W14279@fw.wintelcom.net> In-Reply-To: <20000308150327.A77039@fisicc-ufm.edu>; from obonilla@fisicc-ufm.edu on Wed, Mar 08, 2000 at 03:03:27PM -0600 References: <20000308150327.A77039@fisicc-ufm.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
* Oscar Bonilla <obonilla@fisicc-ufm.edu> [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 majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000308163057.W14279>