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

Re: compiling packages

On Sat, 2007-05-26 at 03:29 +0200, Oliver Block wrote:
> Hello list,
> I am not very familiar with the debian developer tools. How to
> recompile a package with debuggin option (gcc -g)?

1. Change the Makefile and/or debian/rules as necessary to add -g to the
compilation options.

2. In debian/rules, comment out the instruction to strip the binaries
(such as dh_strip).

Packages are too diverse to give a method that will work for every one.

Oliver Elphick                                          olly@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
GPG: 1024D/A54310EA  92C8 39E7 280E 3631 3F0E  1EC0 5664 7A2F A543 10EA
   Do you want to know God?   http://www.lfix.co.uk/knowing_god.html

Reply to: