./configure --host=arm-none-linux-gnueabi --prefix=/opt/local CFLAGS="-I/opt/local/include" CPPFLAGS="-I/opt/local/include" LDFLAGS="-L/opt/local/lib"
make
make install
第九步:安装jpegsrc.v6b.tar.gz [OK]
./configure --prefix=/opt/local --enable-shared --enable-static
然后修改Makefile的gcc ,ar,ranlib,全改为arm-none-linux-gnueabi-*
在/opt/local目录新建目录:
mkdir -p man/man1
make
make install
./configure --host=arm-none-linux-gnueabi --prefix=/opt/local CFLAGS=-I/opt/local/include CXXFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib
make
make install
./configure --host=arm-none-linux-gnueabi --prefix=/opt/local CFLAGS=-I/opt/local/include CXXFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib --with-arch=arm
make
make install
./configure --host=arm-none-linux-gnueabi --prefix=/opt/local CFLAGS=-I/opt/local/include CXXFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib
make
make install