移植snappy到hi3519

1.编译环境

2.移植到3519

1)编译步骤:

  • 生成配置文件:autoconf.sh
  • 配置:./configure --build=i686-pc-linux --host=arm-hisiv500-linux CC=arm-hisiv500-linux-gcc CXX=arm-hisiv500-linux-g++ --prefix=/home/shunzhi/software/snappy/snappy-1.1.4/install
  • 编译:make
  • 检测:make check # 检测会出现错误,不用管他( If “make check” fails, you can still install, but it is likely that some features of this library will not work correctly on your system. Proceed at your own risk.)
  • 安装:make install

2)移植结果:

shunzhi@ubuntu:~/software/snappy/snappy-1.1.4/install$ tree
.
├── include
│   ├── snappy-c.h
│   ├── snappy.h
│   ├── snappy-sinksource.h
│   └── snappy-stubs-public.h
├── lib
│   ├── libsnappy.a
│   ├── libsnappy.la
│   ├── libsnappy.so -> libsnappy.so.1.3.1
│   ├── libsnappy.so.1 -> libsnappy.so.1.3.1
│   ├── libsnappy.so.1.3.1
│   └── pkgconfig
│       └── snappy.pc
└── share
    └── doc
        └── snappy
            ├── ChangeLog
            ├── COPYING
            ├── format_description.txt
            ├── framing_format.txt
            ├── INSTALL
            ├── NEWS
            └── README

6 directories, 17 files
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值