[Samba] Why are the binaries so huge?
Buchan Milne
bgmilne at cae.co.za
Fri Aug 29 12:15:38 GMT 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> Message: 38
> Date: Fri, 29 Aug 2003 08:53:00 +1200
> From: "Paul Eggleton" <paule at cjntech.co.nz>
> Subject: RE: [Samba] Why are the binaries so huge?
> To: <samba at lists.samba.org>
> Message-ID: <3DBF3DDF86B734419FC2A60F1D81833E10523F at cjnwin2000>
> Content-Type: text/plain; charset="us-ascii"
>
> Wayne Rasmussen wrote on Friday, 29 August 2003 7:46 a.m.:
>
>>> After you configure, in the source/Makefile
>>> change the line:
>>> CFLAGS= -g -O2
>>> to:
>>> CFLAGS= -O2
>>>
>
>
> One would assume that this option is included in the beta/RC releases to
> allow debugging. If you wish to report any crash-type bugs I suggest you
> leave this option in.
>
But gcc-3.3 generates *huge* binaries with debuggind enabled, on my 800
Duron, gcc-3.3 would take close on half an hour just to relink the
binaries, whereas with earlier versions of gcc (even 3.2.1), I could do
a complete build from scratch in the same time. In my case, I didn't
have 600MB free on the partition the binaries were intended to be on ...
so in some cases building with debug flags actually prevents testing ...
best to build without debugging enabled, and if you find a bug, just
relink the offending binary with debugging enabled.
Regards,
Buchan
- --
|--------------Another happy Mandrake Club member--------------|
Buchan Milne Mechanical Engineer, Network Manager
Cellphone * Work +27 82 472 2231 * +27 21 8828820x202
Stellenbosch Automotive Engineering http://www.cae.co.za
GPG Key http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/T0PprJK6UGDSBKcRAiojAJ4oAG6oI+FleTZpLR9AxsZoV7dclQCfWXN6
xxcFc0GC9zvZb8ON1ZLUzKk=
=rm5d
-----END PGP SIGNATURE-----
*****************************************************************
Please click on http://www.cae.co.za/disclaimer.htm to read our
e-mail disclaimer or send an e-mail to info at cae.co.za for a copy.
*****************************************************************
More information about the samba
mailing list