Today, I got a botron pxa270a Development Board, but the random CD is down. The new CD should wait for at least next week, so I tried to build a cross-compilation environment.
After searching for a day on Google, most of the Cross-compilation environment construction methods do not apply to this development board. Finally, finally found an open source project crosstool, using this tool can easily build XScale, ARM7-ARM9, mk6800, PowerPC and Other cross compiling environment. Different scripts are automatically downloaded and compiled to form available Development kits.
Crosstool can be found on the following website and has more detailed documents.
Www.kegel.com/Crosstool/
After successfully building the platform, I tried to cross-compile mplayer.
Execute configure as follows
. /Configure -- Host-CC = GCC -- cc = arm-XScale-Linux-GNU-GCC -- target = arm-armv4l-linux -- enable-static -- prefix =/tmp/mplayer -- disable-dvdread -- enable-fbdev -- disable-mencoder -- disable-dvdread-Internal -- disable-Live 2> & 1 | tee logfile
Note that most methods on the Internet do not-- Disable-dvdread-Internal option and -- disbale-Win32 option, but when I compile this way there is an error, so removed -- disable-win32 added-- Disable-dvdread-Internal: You can successfully obtain the static compilation execution file of mplayer and port it to the Development Board.