libmodbus的移植的过程中,要注意几点:
第一,在交叉编译器是最好加上--prefix参数,叫相关的库直接集中起来,方便拷贝到开发板相应的目录中去;
嵌入式开发板:./configure --build=i686 --host=arm-none-linux-gnueabi --prefix=/root/libmodbus-3.1.1/install/ && make install
PC上运行 :./configure && make install...
分类:
数据库 时间:
2014-07-12 22:20:58
阅读次数:
476
sudo./configure--prefix=../armv7--disable-ffmpeg--disable-ffplay--disable-ffprobe--disable-ffserver--enable-cross-compile--sysroot="/Applications/Xcod...
分类:
其他好文 时间:
2014-07-11 22:12:38
阅读次数:
543
npm 管理模块npm安装模块默认为 shell 的当前目录。如果要装成全局的,使用 npm install xss -gnpm help install里的描述是:Packages are dropped into the node_modules folder under the prefix....
分类:
其他好文 时间:
2014-07-11 19:11:53
阅读次数:
602
Example XHTML page
以上例子展示,通过 xmlns 来指定命名空间,通过 xmlns:prefix 来指定 前缀,一但指定的前缀,就得在当前元素,以及子元素使用。
有时候为了避免不同语言间的冲突,也需要使用命名空间来限定特性,如下面的例子所示。
Example XHTML page
Hello world!...
分类:
编程语言 时间:
2014-07-11 00:51:47
阅读次数:
339
nginx的安装下载地址:http://nginx.org/download/nginx-1.4.2.tar.gz安装准备:nginx依赖于pcre库,要先安装pcreyuminstallpcrepcre-develcd/usr/local/src/wgethttp://nginx.org/download/nginx-1.4.2.tar.gztarzxvfnginx-1.4.2.tar.gzcdnginx-1.4.2./configure--prefix=/usr/lo..
分类:
其他好文 时间:
2014-07-09 09:04:41
阅读次数:
199
For each prefix of a given string S with N characters (each character has an ASCII code between 97 and 126, inclusive), we want to know whether the prefix is a periodic string. That is, for each i (2...
分类:
其他好文 时间:
2014-07-08 17:54:12
阅读次数:
297
Write a function to find the longest common prefix string amongst an array of strings.
写一个函数找出字符串数组中的最长共现前缀字符串。
思路:共现,即要求数组中的所有元素的前缀中都要出现。所以所得的结果肯定是最短字符串的部分或全部或都不是,总之要以最短字符串为基准与其他字符串比较。
public Str...
分类:
其他好文 时间:
2014-07-08 10:39:49
阅读次数:
203
1、先去下载新版,当前最新版为“ngx_openresty-1.7.0.1”2、开始升级tar zxvf ngx_openresty-1.7.0.1.tar.gzcd ngx_openresty-1.7.0.1./configure --prefix=/usr/local/openresty/ --...
分类:
其他好文 时间:
2014-07-06 20:16:07
阅读次数:
198
环境:Ubuntu 9.10 git-1.8.2.3.tar.bz2
1.将安装包下载到所选目录下,如:/tmp
2.tar -xjf git-1.8.2.3.tar.bz2
3.cd git-1.8.2.3
4.配置:./configure --prefix=/usr/bin
5.安装,如果直接make install安装出现错误,可以用下面命令...
分类:
其他好文 时间:
2014-07-06 08:47:47
阅读次数:
207
Write a function to find the longest common prefix string amongst an array of strings.class Solution {public: string longestCommonPrefix(vector &st...
分类:
其他好文 时间:
2014-07-05 18:36:22
阅读次数:
209