Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Feb 2013 13:20:16 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-current@freebsd.org
Cc:        Steve Kargl <sgk@troutmask.apl.washington.edu>
Subject:   Re: compiling libc and libthr with debugging?
Message-ID:  <201302071320.17136.jhb@freebsd.org>
In-Reply-To: <20130207181441.GA58987@troutmask.apl.washington.edu>
References:  <20130207181441.GA58987@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302071320.17136.jhb>