Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: RFC: MPlayer

From: Andrey Smagin <andrey(at)smagin.com>
Date: Wed Jan 15 2003 - 00:00:58 EST

On Tue, 14 Jan 2003 22:22:18 +0100
Björn Sandell <biorn@dce.chalmers.se> wrote:

> Feedback wanted!

Björn,

the "debug" flavor is not building on sparc64, since it's being compiled with "-mcpu=v8" switch. This patch fixes it for me. (Fixes the compilation issue only - both mplayer and mencoder still dump core on my Ultra-5, but at least I can build the debug flavor now.)

Does anybody have mplayer working on sparc64?

Thanks,
Andrey

# patch-configure
# (replacement for existing patch-configure)
#
$OpenBSD$
--- configure.orig	Fri Dec  6 17:54:02 2002
+++ configure	Thu Jan  2 16:17:20 2003
@@ -370,7 +370,8 @@ if test -z "$_target" ; then
       x86_64) host_arch=x86_64 ;;
       ppc) host_arch=ppc ;;
       alpha) host_arch=alpha ;;
-      sparc*) host_arch=sparc ;;
+      sparc) host_arch=sparc ;;
+      sparc64) host_arch=sparc64 ;;
       9000*) host_arch=hppa ;;
       arm*) host_arch=arm ;;
       s390) host_arch=s390 ;;
@@ -801,6 +802,15 @@ EOF
     _mcpu="-mcpu=$proc"
     ;;
 
+  sparc64)
+    _def_arch='#define ARCH_SPARC64 1'
+    _target_arch='TARGET_ARCH_SPARC64 = yes'
+    iproc='sparc'
+    proc='v9'
+    _march=''
+    _mcpu="-mcpu=$proc"

+ ;;
+

   arm)

     _def_arch='#define ARCH_ARM 1'
     _target_arch='TARGET_ARCH_ARM = yes'
@@ -3278,7 +3288,7 @@ echores "$_sgiaudio"    
Do you need help?X

 echocheck "VCD support"
-if linux || bsdos || freebsd || netbsd || sunos ; then +if linux || bsdos || freebsd || netbsd || openbsd || sunos ; then

   _inputmodules="vcd $_inputmodules"
   _def_vcd='#define HAVE_VCD 1'
   echores "ok"
@@ -3840,7 +3850,7 @@ fi    

 echocheck "iconv"
-if test "$_iconv" = auto ; then
+if test "$_iconv" != no ; then

   _iconv_tmp='#include <iconv.h>'  

   cat > $TMPC << EOF Received on Wed Jan 15 00:06:12 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:39:09 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library