1/3 of programs are debug info

Michael Tokarev mjt at tls.msk.ru
Mon Apr 10 09:11:49 GMT 2000

Luke Kenneth Casson Leighton wrote:
> this is a hell of a lot.
> smbd, with -DNO_DEBUG_REPORTING, is 293224 bytes, on TNG.
> smbd is 411048 bytes _with_ DEBUG macros defined.
> thoughts, suggestions, code-reduction plans, anyone?
Why it is so bad?! Just make libraries shared, and voila... ?
Most of "code" here is a strings, and these probably const/static,
so all are shared between smbds.
Also, stripping can help (but not on tng for now, since debugging
will be impossible)

More information about the samba-technical mailing list