XScale cross-compilation environment setup and mplayer porting

Source: Internet
Author: User
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.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.