[MPlayer-users] Re: How to compile mplayer with enable-armv5te&iwmmxt

qwen dux qwenxu at gmail.com
Mon Jan 29 14:27:13 CET 2007


Thank you very much!your replies are very helpful to me!!!
On 1/27/07, dmantipov <dmantipov at yandex.ru> wrote:
>
> Hello.
>
> 1. 'Error: selected processor does not support...' means this is a problem
> with your compiler, not with MPlayer. Go to libavcodec and compile
> armv4l/dsputil_iwmmxt.c with '--save-temps -fverbose-asm', then look at the
> beginning of assembly output. With my cross compiler, it looks like the
> following (gcc 3.4.3):
>
> @ GGC heuristics: --param ggc-min-expand=100 --param
> ggc-min-heapsize=131072
> @ options passed:  -fpreprocessed -march=iwmmxt -mtune=iwmmxt
> @ -mfloat-abi=soft -mfpu=vfp -auxbase -O4 -Wdeclaration-after-statement
> @ -ffast-math -fomit-frame-pointer -fverbose-asm
> @ options enabled:  -feliminate-unused-debug-types -fdefer-pop
> @ -fomit-frame-pointer -foptimize-sibling-calls -funit-at-a-time
> @ -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations
> @ -fthread-jumps -fstrength-reduce -funswitch-loops -fpeephole -fforce-mem
> @ -ffunction-cse -fkeep-static-consts -fcaller-saves -freg-struct-return
> @ -fweb -fgcse -fgcse-lm -fgcse-sm -fgcse-las -floop-optimize
> @ -fcrossjumping -fif-conversion -fif-conversion2 -frerun-cse-after-loop
> @ -frerun-loop-opt -fdelete-null-pointer-checks -fschedule-insns
> @ -fschedule-insns2 -fsched-interblock -fsched-spec -fsched-stalled-insns
> @ -fsched-stalled-insns-dep -fbranch-count-reg -funwind-tables
> @ -freorder-blocks -freorder-functions -frename-registers
> -fcprop-registers
> @ -fcommon -fverbose-asm -fregmove -foptimize-register-move
> @ -fargument-alias -fstrict-aliasing -fmerge-constants
> @ -fzero-initialized-in-bss -fident -fpeephole2 -ffinite-math-only
> @ -fguess-branch-probability -funsafe-math-optimizations -march=iwmmxt
> @ -mtune=iwmmxt -mfpu=vfp -mfloat-abi=soft
>
> Note '-march=iwmmxt' and '-mtune=iwmmxt' here. If your assembly output
> doesn't include these options, add them to CFLAGS while configuring MPlayer.
> If you're compiling the kernel for your board yourself, check the compiler
> flags used to compile the kernel (for 2.6, you need to run 'make V=1' to
> see command lines) and try to add the same '-march=', '-mcpu=' and '-mtune='
> to CFLAGS for mplayer.
>
> 2. Use -enable-iwmmxt and try an attached patch (against the latest SVN
> trunk) - it should fix armv4l/mpegvideo_armv5te.c and other stuff needed.
>
> 3. Ask the similar questions in mplayer-dev-eng@, not in mplayer-users@
> :-).
>
> Good luck,
> Dmitry
>
>
>



More information about the MPlayer-users mailing list