summaryrefslogtreecommitdiffstats
path: root/doc/debuginfo.txt
blob: 3631dc92a3c3544cf07733a56291bddd9252b3e0 (plain)
1
2
3
4
5
6
7
8
9
If libraries are built with debug information, you can remove this with 'strip'
but perhaps even better would be to do:

$ objcopy --only-keep-debug libfoo.so libfoo.so.debug
$ objcopy --strip-debug libfoo.so
$ objcopy --add-gnu-debuglink=libfoo.so.debug libfoo.so

to separate the two.