zlib
./configure --prefix= /home/madplay/
修改makefile
CC=arm-linux-gcc
AR=arm-linux-ar rc
RANLIB=arm-linux-ranlib
LDSHARED=arm-linux-gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map
id3tag:
./configure CC=arm-linux-gcc CPPFLAGS=-I/home/madplay/include LDFLAGS=-L/home/madplay/lib --prefix=/home/madplay/ --disable-shared --host=arm-linux
libmad
./configure CC=arm-linux-gcc --host=arm-linux --prefix=/home/madplay/ --disable-shared
madplay
./configure CC=arm-linux-gcc --host=arm-linux -prefix=/home/madplay/ --disable-shared --enable-static CPPFLAGS=-I/home/madplay/include LDFLAGS=-L/home/madplay/lib
Mplayer
./configure --enable-cross-compile --cc=arm-linux-gcc --host-cc=gcc --as=arm-linux-as --ar=arm-linux-ar --ranlib=arm-linux-ranlib --target=arm-linux --extra-cflags="-I/home/arthur/media/include" --extra-ldflags="-L/home/arthur/media/lib" --prefix=/home/arthur/media
修改make install的bug
Makefile的前面加入
INSTALLSTRIP := #
沒有留言:
張貼留言