On Wed, Jan 31, 2001 at 09:43:00PM -0600, Manoj Srivastava wrote: > >>"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. Hell yeah, and this is why I *ALWAYS* build X this way, and I will continue to do until you pry my cold dead fingers from it. I can always just give a nagging bug submitter a URL to some unstripped binaries when he bitches about a coredump. "Oh yeah? Do a backtrace with this unstripped binary." That usually shuts them up pretty quick. It's amazing how the people that complain about segfaults can't ever be bothered to run even a single gdb command. -- G. Branden Robinson | Men use thought only to justify their Debian GNU/Linux | wrong doings, and speech only to conceal branden@debian.org | their thoughts. http://www.debian.org/~branden/ | -- Voltaire
Attachment:
pgpmjOkRLzTfx.pgp
Description: PGP signature