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

Re: Bug#83924: upgrading-checklist.text should mention DEB_BUILD_OPTIONS specifically



>>"Ian" == Ian Jackson <ian@davenant.greenend.org.uk> writes:

 Ian> IMO the right thing to do is to always build with -g and strip
 Ian> at `install' time (ie, when the programs are copied into the
 Ian> debian/tmp directory, before dpkg-deb is run).

	Why is it the right thing to do? I understand that it is the
 easy thing to do, yes. Let us examine this in more detail. 

 a) Compile with -g
    i) Takes more time
   ii) Takes more disk space
   
      Advantage: to debug, one only needs to run the executable
      created, since it is not stripped.
 b) One needs to modify the Makefile, and when needs to create a
    debugging version, one recompiles with an option.

	Given that most people do not have precompiled versions lying
 around most of the time, and compiling again with the debug options
 is not really all that onerous, and given the space and time
 requirements of autobuilders, I am not at all convinced that the
 right thing is to build debugged and strip before packaging.

	manoj
-- 
 QOTD: "If he learns from his mistakes, pretty soon he'll know
 everything."
Manoj Srivastava   <srivasta@debian.org>  <http://www.debian.org/%7Esrivasta/>
1024R/C7261095 print CB D9 F4 12 68 07 E4 05  CC 2D 27 12 1D F5 E8 6E
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C



Reply to: