[opensuse-factory] Debug information for local libraries
I would like to make debug information for libraries we make. Of course, I can compile and link the libraries this way, and install them. But I see that for openSUSE libraries, a better method is used: Libraries are built with the debug information. This is then stripped out, saved, and packaged for use by programs such as gdb. Is there a description for how this is accomplished on openSUSE? I looked around on the openSUSE site, but could not find anything. I guess I do not know where best to look... Yours sincerely, Roger Oberholtzer OPQ Systems / Ramböll RST Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 roger.oberholtzer@ramboll.se ________________________________________ Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden www.rambollrst.se -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Quoting Roger Oberholtzer
I would like to make debug information for libraries we make. Of course, I can compile and link the libraries this way, and install them. But I see that for openSUSE libraries, a better method is used:
Libraries are built with the debug information. This is then stripped out, saved, and packaged for use by programs such as gdb.
Is there a description for how this is accomplished on openSUSE? I looked around on the openSUSE site, but could not find anything. I guess I do not know where best to look...
Not sure if it helps you, but rpm uses /usr/lib/rpm/find-debuginfo.sh to extract the debug parts... maybe it can serve you as a starting point in your quest. Dominique -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Thu, 2012-08-16 at 17:16 +0200, Dominique Leuenberger a.k.a DimStar wrote:
/usr/lib/rpm/find-debuginfo.sh
Thanks for that pointer. I think it does address what I am trying to do. Next I need to figure out what it is really doing. My libs are not in an RPM (in the traditional way - don't ask). Hopefully this should get me started. Yours sincerely, Roger Oberholtzer OPQ Systems / Ramböll RST Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 roger.oberholtzer@ramboll.se ________________________________________ Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden www.rambollrst.se -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (2)
-
Dominique Leuenberger a.k.a DimStar
-
Roger Oberholtzer