[MPlayer-dev-eng] Compiling on C3-2 Nehemiah

Thijs Vermeir thijsvermeir at telenet.be
Wed Oct 5 00:02:15 CEST 2005


Nice,

The patch worked for the given problem but I see another one.
This processor doesn't support mmx2. But the flag is enabled.

Thanks,
On 4-okt-05, at 21:38, Jindrich Makovicka wrote:

> Thijs Vermeir wrote:
>
>> OK, here is the /proc/cpuinfo of the Via epia M-10000-n:
>>
>
> you can give this patch a try:
>
> --  
> Jindrich Makovicka
> Index: configure
> ===================================================================
> RCS file: /cvsroot/mplayer/main/configure,v
> retrieving revision 1.1070
> diff -u -r1.1070 configure
> --- configure    4 Oct 2005 17:58:11 -0000    1.1070
> +++ configure    4 Oct 2005 19:37:43 -0000
> @@ -850,6 +850,27 @@
>      *) proc=pentium4 iproc=686 ;;
>      esac
>      ;;
> +  CentaurHauls)
> +    case "$pfamily" in
> +    5) iproc=586
> +    if test "$pmodel" -ge 8; then
> +        proc=winchip2
> +    elif test "$pmodel" -ge 4; then
> +        proc=winchip-c6
> +    else
> +        proc=i586
> +    fi
> +    ;;
> +    6) iproc=686
> +    if test "$pmodel" -ge 9; then
> +        proc=c3-2
> +    else
> +        proc=i686
> +    fi
> +    ;;
> +    *) proc=i686 iproc=i686 ;;
> +    esac
> +    ;;
>    unknown)
>      case "$pfamily" in
>      3) proc=i386 iproc=386 ;;
> @@ -896,13 +917,13 @@
>      fi
>        fi
>      fi
> -    if test "$proc" = "pentium4" || test "$proc" = "pentium3" ||  
> test "$proc" = "pentium2" || test "$proc" = "athlon"; then
> +    if test "$proc" = "pentium4" || test "$proc" = "pentium3" ||  
> test "$proc" = "pentium2" || test "$proc" = "athlon" || test  
> "$proc" = "c3-2"; then
>        cc_check -march=$proc $cpuopt=$proc  || proc=i686
>      fi
> -    if test "$proc" = "i686" || test "$proc" = "pentium-mmx"; then
> +    if test "$proc" = "i686" || test "$proc" = "pentium-mmx" ||  
> test "$proc" = "winchip-c6" || test "$proc" = "winchip2"; then
>        cc_check -march=$proc $cpuopt=$proc  || proc=i586
>      fi
> -    if test "$proc" = "i586" ; then
> +    if test "$proc" = "i586" || test "$proc" = "c3" ; then
>        cc_check -march=$proc $cpuopt=$proc  || proc=i486
>      fi
>      if test "$proc" = "i486" ; then
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
>




More information about the MPlayer-dev-eng mailing list