On Wed, Jan 08, 2003 at 08:59:39AM +0000, Mike Hearn wrote:
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.
I submitted a patch which adds -gstabs to CFLAGS if necessary.
Ciao, Marcus