compiling libc and libthr with debugging?
sgk at troutmask.apl.washington.edu
Thu Feb 7 18:43:40 UTC 2013
On Thu, Feb 07, 2013 at 01:20:16PM -0500, John Baldwin wrote:
> On Thursday, February 07, 2013 1:14:41 pm Steve Kargl wrote:
> > What's the preferred method for compiling libc
> > and libthr with debugging enable?
> I just do:
> cd /path/to/src/lib/libc
> make clean
> make DEBUG_FLAGS=-g
> Then when I run the binary I use a custom LD_LIBRARY_PATH that points at the
> directory holding the custom libc.
Thanks. I give it a try, but I'll install the libraries
at lesat for a few days.
More information about the freebsd-current