移植开源项目grpc到IMX6UL平台

1.下载开源代码
https://github.com/grpc/grpc

2.找到install.md 查看安装相关库
https://github.com/grpc/grpc/blob/master/INSTALL.md
例如:

sudo apt-get install build-essential autoconf libtool

3.开始编译
到grpc项目根目录下执行编译

make

出现以下信息:错误信息

进入以下目录:

cd grpc/third_party/protobuf

配置编译(根据交叉编译器配置: echo $PATH, 获取到arm-poky-linux-gnueabi):

./configure --host=arm-poky-linux-gnueabi --target=arm-poky-linux-gnueabi 

开始编译:

make

你可能感兴趣的:(linux-c编程)