protobuf 交叉编译

来源:互联网 发布:windows defender xp 编辑:程序博客网 时间:2024/04/30 06:21
1 先编译并安装protoc
 ./confgure  
 make  
 sudo make install  
 make distclean

2 交叉编译并安装
 ./configure  --host=arm-hisiv100nptl-linux --with-protoc=protoc --target=arm-hisiv100nptl-linux --prefix=/usr/local/3518
 make
 make install
 
 
 参考:http://blog.csdn.net/yuezhiren/article/details/8094755
0 0