What does gcc prior to 3.1 do with the -gstabs+ flag? If it ignores it, or it's implied anyway, we could just have it always on.
If not then I have some bash here that can parse the output of gcc -v and determine whether it's >= 3.1, would that be acceptable as a patch to configure.ac?
The only other way would be to compile a little test app then run objdump on it to figure out if stabs data was included, but testing the GCC version would be faster.
On Tue, 2003-01-07 at 09:19, Shachar Shemesh wrote:
Eric Pouech wrote:
aren't you, by any chance, compiling with gcc >= 3.1 ? if so, you need to force emission of stabs as a debugging format while running configure something like this should work CFLAGS=-gstabs+ ./configure
Maybe we should patch configure.ac to detect this and add the apropriate compile switch?
A+