Why does configure.developer use -gstabs in Samba3?

James Peach jpeach at sgi.com
Mon Apr 10 04:29:35 GMT 2006


Hi all,

Is there a good reason why configure.developer in Samba3 uses
"-gstabs"? Would a simple "-g" be a sufficient replacement?

This doesn't work on all versions of gcc:

jpeach:~/samba/svn/branches/SAMBA_3_0/source> ./configure.developer
...
checking whether building shared libraries actually works... cc1: warning: `stabs': unknown or unsupported -g option
yes
...
jpeach:~/samba/svn/branches/SAMBA_3_0/source> gcc --version
gcc (GCC) 3.3.3 (SuSE Linux)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
jpeach:~/samba/svn/branches/SAMBA_3_0/source> gcc -dumpmachine
ia64-suse-linux

-- 
James Peach | jpeach at sgi.com | SGI Australian Software Group
I don't speak for SGI.



More information about the samba-technical mailing list