码迷,mamicode.com
首页 > Web开发 > 详细

json-c arm移植

时间:2015-04-26 00:03:11      阅读:257      评论:0      收藏:0      [点我收藏+]

标签:arm   动态库   移植   

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移植

标签:arm   动态库   移植   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!