> The idea is to build the program with -g -O2, then install it in the
> debian/tmp tree and strip it.  That gets you the following advantages:
> 
>    - The installed binary is stripped and fully optimized.
>    - It's easy to get an unstripped binary: just run debian/build,
>      no makefile tinkering necessary.
>    - The unstripped binary is useful for debugging core files generated
>      by the installed binary.
> 
> This is all described in the policy manual, section 4.1.
> 
> Richard Braakman

Ah, that's it!  I didn't realise that -g followed by strip is at least
as small as using neither.  So my concerns are unfounded.

Thanks for the explanation,

   Julian

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

  Julian Gilbey, Dept of Maths, QMW, Univ. of London. [EMAIL PROTECTED]
             Debian GNU/Linux Developer.  [EMAIL PROTECTED]
       -*- Finger [EMAIL PROTECTED] for my PGP public key. -*-

Reply via email to