compiling libc and libthr with debugging?

John Baldwin jhb at freebsd.org
Thu Feb 7 18:23:01 UTC 2013


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.

-- 
John Baldwin


More information about the freebsd-current mailing list