This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Wednesday 10 December 2008 08:25:02 Carlos O'Donell wrote: > On Tue, Dec 9, 2008 at 8:24 PM, "Chen (陈) Jun (军)" <chjfth@gmail.com> wrote: > > Thank you Carlos, but there is still one question remain. What is the > > proper and conventional way to install a debug version and release > > version of glibc side by side, and when calling gcc to link an > > executable, how should I tell gcc which version of glibc to link? > > There is no standardized method for distributing debug libraries. It > could be added to the LSB specification, but it has not been done. > > Fedora core: > 1. Build and install normal stripped libraries in /lib and /usr/lib > 2. Store stripped debug information in /usr/lib/debug/*.debug files. > 3. Store source code related to package (for source debugging) in > /usr/src/debug/* > > Using Fedora core debug libraries: > 1. Run binary as normaly, the FC debugger is responsible for loading > the *.debug files that match the DSO. Gentoo behaves pretty much the same way as Fedora. btw, it isnt "FC debugger" that does this, it's gdb itself. -mike
Attachment:
signature.asc
Description: This is a digitally signed message part.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |