[MPlayer-users] Alan Cox says gcc 2.96 is not buggy

Alex Kanavin ak at cave.hop.stu.neva.ru
Sat Nov 10 23:18:23 CET 2001


On Sat, 10 Nov 2001, Felix Buenemann wrote:

> > So if I do the test with 2.96-85 and it passes mmx/p3/k6-2/athlon you will
> > accept it as well? (It's quite easy to check for 2.96-85)
> can it be detected from gcc version string after all?

Sure.

[ak at cave ak]$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-98)
[ak at cave ak]$ gcc -v 2>&1 | awk '/Red Hat/{split ($9,version,"-|)");print 
version[2]}'
98

So check this number and if it's above or equal to 85 or something, pass 
the test.

-- 
Alexander

Homepage: http://www.sensi.org/~ak/





More information about the MPlayer-users mailing list