Re: [Mplayer-dev-eng] old binutils problem
is there any method to check 'as' version through gcc?
How about this change? Does it detect the correct version of 'as' used on your system? Index: configure =================================================================== RCS file: /cvsroot/mplayer/main/configure,v retrieving revision 1.94 diff -u -B -r1.94 configure --- configure 29 Jun 2001 10:45:00 -0000 1.94 +++ configure 3 Jul 2001 11:58:58 -0000 @@ -203,7 +203,10 @@ # --- Check for C compiler: _cc=gcc -_as=as +_as=`gcc -print-prog-name=as` +if [ x"_$as" = x ]; then + _as=as +fi _x11=auto _x11libdir= @@ -986,7 +993,7 @@ # Checking assembler (_as) compatibility... as_version=`$_as --version 2>&1 | sed -n 's/^.*assembler \([0-9.]*\).*$/\1/p'` -echo $_echo_n "Checking assembler (as) ... $as_version, $_echo_c" +echo $_echo_n "Checking assembler ($_as) ... $as_version, $_echo_c" _pref_as_version='2.9.1' ### this test disabled, see _binutils test above! --A'rpi # cat > astest.S <<EOF Jürgen Keil jk@tools.de Tools GmbH +49 (228) 9858011 _______________________________________________ Mplayer-dev-eng mailing list Mplayer-dev-eng@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/mplayer-dev-eng
Hi,
is there any method to check 'as' version through gcc?
How about this change? Does it detect the correct version of 'as' used on your system?
yes, it works! please commit this patch to CVS! (I can't do it from here now) A'rpi / Astral & ESP-team -- mailto:arpi@thot.banki.hu http://esp-team.scene.hu _______________________________________________ Mplayer-dev-eng mailing list Mplayer-dev-eng@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/mplayer-dev-eng
participants (2)
-
Arpi -
Juergen Keil