玩转easyARM imax283A开发版(一),移植madplay让板子支持mp3音乐播放

很早之前买过一个ZLG的开发版,挺便宜的。带液晶屏和扩展板才120元。

拿来做些小玩意儿玩儿。最近移植madplay让板子支持mp3音乐播放,音质还不错!

 

cd /home/yang/imax283/ctools/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin 

export PATH=$PATH:$(pwd)

echo $PATH

编译zlib-1.2.3.tar.gz

./configure --prefix=/home/ban/imax283/madplay/source CC=arm-fsl-linux-gnueabi-gcc AR=arm-fsl-linux-gnueabi-ar rc
RANLIB=arm-fsl-linux-gnueabi-ranlib

./configure --prefix=/home/ban/imax283/madplay/source  --shared


编译libid3tag-0.15.1b.tar.gz

./configure --host=arm-fsl-linux-gnueabi --disable-debugging --prefix=/home/ban/imax283/madplay/source CPPFLAGS=-
I/home/ban/imax283/madplay/source/include LDFLAGS=-L/home/ban/imax283/madplay/source/lib


编译libmad-0.15.1b.tar.gz

./configure --host=arm-fsl-linux-gnueabi  --disable-debugging --prefix=/home/ban/imax283/madplay/source CPPFLAGS=-
I/home/ban/imax283/madplay/source/include LDFLAGS=-L/home/ban/imax283/madplay/source/lib


sed -i '/-fforce-mem/d' configure
make

make install 

编译madplay

./configure --host=arm-fsl-linux-gnueabi CC=arm-fsl-linux-gnueabi-gcc --disable-debugging --with-alsa CPPFLAGS=-I/home/ban/imax283/madplay/source/include LDFLAGS=-L/home/ban/imax283/madplay/source/lib

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

特立独行的猫a

您的鼓励是我的创作动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值