摘要:protobuf-c,也就是Google Protocol Buffers针对c语言版本的实现,libprotobuf-c是使用纯c语言实现的encoding和decoding,如何通过交叉编译让其运行在arm平台上呢?
首先要编译出protobuf2.6.0版本,参考本人其他博文:ubuntu14.04下编译protobuf2.6.0
1、打包下载protobuf-c,地址:https://github.com/protobuf-c/protobuf-c
3、./autogen.sh
4、./configure --host=arm-linux-gnueabi
5、make