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

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

-- 
Steve



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