share
所属分类:Linux/Unix编程
开发工具:Unix_Linux
文件大小:1895KB
下载次数:82
上传日期:2008-06-03 17:38:18
上 传 者:
绝对零度007
说明: 制作madplay的所有源代码包和已经编译好的madplay工具。里面还附有详细的编译过程。大家可以一步一步地自己编译,也可以直接使用已经编译好的工具。已经在s3c2410平台上使用过,效果不错。
(Madplay production of all source code packages and have been compiled madplay tools. There was also accompanied by a detailed process of the compiler. Step by step you can compile your own, you can direct the use of tools has been compiled. S3C2410 platform has been used, good results.)
文件列表:
zlib-1.1.4.tar.gz (181144, 2008-06-01)
madplay (900184, 2008-06-03)
libid3tag-0.15.1b.tar.gz (338143, 2008-06-01)
libmad-0.15.1b.tar.gz (502379, 2008-06-01)
madplay-0.15.2b.tar.gz (590929, 2008-06-01)
1、下载以下程序libid3tag,libmad,madplay。dAkLinux联盟
2、下载zlib一个压缩库,libid3tag需要它dAkLinux联盟
用交叉编译工具编译zlib,并且把库生成到交叉编译环境的库目录下dAkLinux联盟
./configure --prefix=/usr/local/arm/3.4.1/arm-linux.dAkLinux联盟
修改Makefile.dAkLinux联盟
CC=arm-linux-gccdAkLinux联盟
AR=arm-linux-ar rcdAkLinux联盟
RANLIB=arm-linux-ranlibdAkLinux联盟
然后执行命令make dAkLinux联盟
make installdAkLinux联盟
说明:--prefix是便于寻找头文件和库文件,以下同dAkLinux联盟
3、编译libid3tagdAkLinux联盟
./configure CC=arm-linux-gcc --host=arm-linux --disable-debugging -disable-shared --prefix=/usr/local/arm/3.4.1/arm-linuxdAkLinux联盟
make dAkLinux联盟
make installdAkLinux联盟
说明:--host指明库运行的环境arm-linux不是ix86-pc-linux.dAkLinux联盟
-disable-shared 编译器默认是动态连接共享库的。这里指明为静态连接(关键)dAkLinux联盟
4、编译libmaddAkLinux联盟
./configure --enable-fpm=arm --host=arm-linux --disable-shared --disable-debugging --prefix=/usr/local/arm/3.4.1/arm-linux CC=arm-linux-gccdAkLinux联盟
makedAkLinux联盟
make install dAkLinux联盟
说明:同上 dAkLinux联盟
5、编译madplaydAkLinux联盟
./configure --host=arm-linux CC=arm-linux-gcc --disable-debugging --disable-shared dAkLinux联盟
make dAkLinux联盟
make installdAkLinux联盟
dAkLinux联盟
近期下载者:
相关文件:
收藏者: