debug libraries

John Baldwin jhb at freebsd.org
Fri Feb 26 18:50:35 UTC 2010


On Thursday 25 February 2010 2:09:36 pm Dr. Baud wrote:
> 
>     Apologies if this is the wrong list....
> 
>     Are there prepackaged debug versions of the system libraries available 
(like 'yum install *-debuginfo' in Fedora and 'apt-get install *-dbg' in 
Ubuntu)?

No, however, you can build a debug version of any library by doing:

 cd src/lib/libfoo
 make clean
 make DEBUG_FLAGS=-g all install

-- 
John Baldwin


More information about the freebsd-hackers mailing list