linux make手册:http://www.gnu.org/software/make/manual/make.html一篇文章:假设我们有一个程序由5个文件组成,源代码如下:/*main.c*/#include "mytool1.h"#include "mytool2.h"int main()...
分类:
其他好文 时间:
2014-09-25 17:15:19
阅读次数:
232
下载源码目录: /usr/local/src安装依赖:yum -y install gcc libxml2-dev curl screen \libpng12-dev autoconf libpcre3-dev make bzip2 \libevent-dev patch libjpeg62-dev...
分类:
数据库 时间:
2014-09-25 15:45:49
阅读次数:
240
安装cpulimit? 使用源码安装 # cd /tmp # wget ‘http://downloads.sourceforge.net/cpulimit/cpulimit-1.1.tar.gz‘ # tar cpulimit-1.1.tar.gz# cd cpulimit-1.1 # make # cp cpulimit /usr/local/sbin/ # rm -...
分类:
系统相关 时间:
2014-09-25 13:58:49
阅读次数:
274
package?main
import(
????//"fmt"
????"time"
)
var?c?=?make(chan?int,100)
func?gofunc(){
????time.Sleep(0)
????c<-0
}
func?main(){
????for?i:=0;i<10;i++{
???????...
分类:
其他好文 时间:
2014-09-25 12:21:09
阅读次数:
264
Problem Description
We use Red, Green and Blue to make new colours. See the picture below:
Now give you n rectangles, the colour of them is red or green or blue. You have calculate the area ...
分类:
其他好文 时间:
2014-09-25 10:46:38
阅读次数:
211
本篇文章为示范如何在Eclipse中开始一个Jni工程的操作步骤,并假设读者初步了解JNI具体规范及使用ANT脚本。(话说这样的初学者不多见吧…其实我只是想给自己写个总结而已) 阅读本文之前,请确保你的开发环境已经满足如下配置:1. 设置好了Android Sdk及Ndk环境变量。NDK的安装建议使用MinGW,只要能在命令行中正常运行make gcc程序即是成功了。并在Eclipse...
分类:
其他好文 时间:
2014-09-24 22:33:38
阅读次数:
295
1、先安装apr、apr-util、pcre、openssl 安装aprtar zxvf apr-***.tar.gzcd apr-***/./configure --prefix=/usr/local/aprmake && make install 安装apr-utiltar zxvf apr.....
分类:
其他好文 时间:
2014-09-24 00:43:45
阅读次数:
273
标题尚的错误,不是原因,因为which make的时候是有显示/usr/bin/make的,echo $PATH的时候也是有make的路径的。编译Qt ./configure的时候出现标题上错误,原因是压缩包解压时候的问题,我用的(下载的源码包)可能是windows版本的,移植到Linux上可能就出...
分类:
其他好文 时间:
2014-09-23 19:52:45
阅读次数:
919
在前文Android——4.2 - 3G移植之路之libusb (一) 中有解析到libusb 这个动态库的移植,目的就是为了 usb-modeswitch 服务。
usb-modeswitch的作用就是转换usb型的设备状态,也是3G 移植中重要的准备工作!
一.Kernel配置:
usb-modeswitch需要kernel中的驱动支持,需要配置serial驱动,到kernel中 make menuconfig 打开serial中的option模块 :
Device Drive...
分类:
移动开发 时间:
2014-09-23 19:01:55
阅读次数:
479
1、下载地址:http://sourceforge.net/projects/php-screw/2、 tar zxvf php_screw_1.5.tar.gz cd php_screw_1.5 phpize ./configure make(注:这里因为环境不同可能会报错,请根据提示安...
分类:
Web程序 时间:
2014-09-23 15:14:34
阅读次数:
158