14:52:11 -0700,
Allen Hopkins [EMAIL PROTECTED] said:
allenh I'm afraid this was not a fix. Have you tried it with gcc-3.1?
allenh I encountered this problem with the 0.9.6d snapshot.
I tried it just now, GCCVER becamse 31, and my output was
--
gcc (GCC) 3.1.1 20020606 (Debian
The config script needs to use gcc -dumpversion
instead of gcc --version to determine the gcc version.
gcc-3.1 outputs a bunch of text with --version, but
just the number with -dumpversion, which also works for
gcc-2.95.
Sorry if this is old news, which it may be.
-Allen Hopkins
UCBerkeley
14:52:11 -0700,
Allen Hopkins [EMAIL PROTECTED] said:
allenh I'm afraid this was not a fix. Have you tried it with gcc-3.1?
allenh I encountered this problem with the 0.9.6d snapshot.
I tried it just now, GCCVER becamse 31, and my output was
--
gcc (GCC) 3.1.1 20020606 (Debian
I agree that simply using -dumpversion makes more sense, on the
assumption that it will always only output the number.
--version appears to be intended to be human-readable, not
machine-readable, and its format may change at any time, as it
just did. Why keep adding sed commands that say, oh,