Why does configure.developer use -gstabs in Samba3?
jpeach at sgi.com
Mon Apr 10 05:15:52 GMT 2006
On Mon, 10 Apr 2006 02:48 pm, Tim Potter wrote:
> On Mon, 2006-04-10 at 14:29 +1000, James Peach wrote:
> > Hi all,
> > Is there a good reason why configure.developer in Samba3 uses
> > "-gstabs"? Would a simple "-g" be a sufficient replacement?
> A particular version of gcc 3.x introduced support for the dwarf-2
> debugging format which includes lots of debug info for cpp macros. This
> blew out the size of binaries built with plain -g to hundreds of
> megabytes instead of the much more reasonable tens of megabytes. (-:
> Using -gstabs forces gcc to use the older format which doesn't allow cpp
> macro debugging but produces much smaller debug binaries.
Ahh. In that case, I'll learn to live with the warning.
James Peach | jpeach at sgi.com | SGI Australian Software Group
I don't speak for SGI.
More information about the samba-technical