首页 > Web开发 > 详细

json-c arm移植

时间:2015-04-26 00:01:35      阅读:499      评论:0      收藏:0      [点我收藏+]

json-c

JSON-C implements a reference counting object model that allows you to easily construct JSON objects in C, output them as JSON formatted strings and parse JSON formatted strings back into the C representation of JSON objects.

下载

https://github.com/json-c/json-c
或者到这里:http://download.csdn.net/detail/chinaeran/8630977

编译

此处使用 arm-linux-gnueabihf-gcc,--build 使用的是64位Linux,可以不添加此参数
解压后运行如下命令:

# autoconf automake libtool 必须安装好
$ sudo apt-get install autoconf
$ sudo apt-get install automake
$ sudo apt-get install libtool

$ ./autogen.sh
$ ./configure --host=arm-linux-gnueabihf --build=i686-pc-linux
$ make

目标路径:./.libs/libjson-c.so.2.0.0

json-c arm移植

原文:http://blog.csdn.net/a_ran/article/details/45276983

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!