mips交叉编译zlib
1
export CC=/opt/gcc-4.9.3-64-gnu/bin/mips64el-linux-gcc LD=/opt/gcc-4.9.3-64-gnu/bin/mips64el-linux-ld
2
./configure --shared --prefix=$PWD/__install
3
make -j4
make install
5 拷贝库和头文件
cp -a libz.so libz.so.1.2.11 /opt/gcc-4.9.3-64-gnu/mips64el-linux/lib