1.设置环境变量export PATH=`pwd`/gcc-linaro-arm-linux-gnueabihf-4.8-2014.03_linux/bin/:$PATH
2.解压lzo-2.08.tar.gz
3.配置lzo-2.0 ./configure --prefix=/root/work_install/ CC=arm-linux-gnueabihf-gcc --host=arm-linux-gnueabihf,还可以加--enable-shared选项编译成动态库
4.编译安装make&&make install
5.解压lzop-1.03.tar.gz
6.配置./configure --prefix=/root/work_install/ CC=arm-linux-gnueabihf-gcc --host=arm-linux-gnueabihf CPPFLAGS=-I/root/work_install/include LDFLAGS=-L/root/work_install/lib
7.编译安装make&&make install
阅读(1938) | 评论(0) | 转发(0) |