[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: compiling packages

Oliver Block ha scritto:
> Hello list,
> I am not very familiar with the debian developer tools. How to recompile a package with debuggin option (gcc -g)?

usually packages are compiled with -g, but are stripped afterwards; to
avoid that, see example:

as root
# apt-get build-dep  mplayer
# apt-get install devscripts

as user
$ apt-get source mplayer
$ cd mplayer-1.0~rc1
$ DEB_BUILD_OPTIONS=nostrip debuild binary

when a package uses debhelper, the dh_strip command will respect your
request; but not all packages so; so in some cases you may need to edit
debian/rules to change the build rules


Attachment: signature.asc
Description: OpenPGP digital signature

Reply to: