|
|||||||||||
|
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
> 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,
# 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"
echocheck "VCD support"
_inputmodules="vcd $_inputmodules"
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 |
||||||||||
|
|||||||||||