【原】移植madplay到arm linux

移植 madplay 需要如下文件:

madplay-0.15.2b.tar.gz

libmad-0.15.1b.tar.gz

libid3tag-0.15.1b.tar.gz

zlib-1.2.3.tar.gz

前三个文件的下载地址在这个网站可以找到相应的链接: http://sourceforge.net/project/showfiles.php?group_id=12349


zlib 的下载地址为: http://www.gzip.org

 

编译方法如下:

 

zlib
./configure --prefix=
/home/madplay/allokhere
修改makefile
CC=arm-linux-gcc
AR=arm-linux-ar rc
RANLIB=arm-linux-ranlib
 
id3tag:
./configure CC=arm-linux-gcc CPPFLAGS=-I/home/madplay/allokhere/include LDFLAGS=-L/home/madplay/allokhere/lib --prefix=/home/madplay/allokhere --disable-shared --host=arm-linux

libmad
./configure CC=arm-linux-gcc --host=arm-linux --prefix=/home/madplay/allokhere --disable-shared

madplay
./configure CC=arm-linux-gcc --host=arm-linux -prefix=/home/madplay/allokhere --disable-shared --enable-static CPPFLAGS=-I/home/madplay/allokhere/include LDFLAGS=-L/home/madplay/allokhere/lib

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值