used version: NDK r9b,arm-linux-androideabi-4.6
GCC, with "-O2 -finline-limit=24".got this error:internal compiler error:
segmentation faultI remember...
分类:
其他好文 时间:
2014-06-29 14:14:45
阅读次数:
303
本文是通过学习左耳朵皓帝的文章,详见:http://blog.csdn.net/haoel1.使用gdbgdb主要是用来调试c和c++程序,首先在编译前我们先把调试信息加到可执行程序当中,使用参数
-g 可以实现这一点。dzhwen@deng:~/first$ gcc -g tst.c -o tst...
分类:
数据库 时间:
2014-06-07 03:36:19
阅读次数:
320
Given a strings1, we may represent it as a
binary tree by partitioning it to two non-empty substrings recursively.Below is
one possible representation...
分类:
其他好文 时间:
2014-06-04 20:11:38
阅读次数:
303
mv/var/lib/rpm/__db*/tmprpm--rebuilddbyumcleanall
分类:
其他好文 时间:
2014-05-30 09:19:30
阅读次数:
167
Given two binary strings, return their sum
(also a binary string).For example,a ="11"b ="1"Return"100".class Solution
{public: string addBinary(str...
分类:
其他好文 时间:
2014-05-30 08:39:11
阅读次数:
270
Cmake是一个跨平台的安装(编译)工具,可以用简单的语句来描述所有平台的安装(编译过程)。他能够输出各种各样的makefile或者project文件apt-get
install cmakelinux操作系统上面开发程序, 光有了gcc 是不行的它还需要一个 build-essential软件包作...
分类:
其他好文 时间:
2014-05-30 03:08:46
阅读次数:
332
不能免俗,先打印个helloworld出来,c代码的函数hello.c#include int
helloworld(){ printf("hello world!"); return 0;}然后编译成动态链接库 gcc hello.c -fPIC
-shared -o libhello...
分类:
编程语言 时间:
2014-05-30 02:08:52
阅读次数:
467
二叉堆(Binary
Heap)二叉堆是完全二叉树(或者近似完全二叉树);其满足堆的特性:父节点的值>=(<=)任何一个子节点的键值,并且每个左子树或者右子树都是一
个二叉堆(最小堆或者最大堆);一般使用数组构建二叉堆,对于array[i]而言,其左子节点为array[2*i],其右子节点为 arr...
分类:
其他好文 时间:
2014-05-29 14:02:37
阅读次数:
309
The following MySQL error might occur if you are
using MySQL replication and binary logs.mysql> show binary logs;ERROR 1381
(HY000): You are not using...
分类:
其他好文 时间:
2014-05-29 01:42:38
阅读次数:
518
安装说明系统环境:CentOS-6.3软件:nginx-1.2.6.tar.gz安装方式:源码编译安装安装位置:/usr/local/nginx下载地址:http://nginx.org/en/download.html安装前提在安装nginx前,需要确保系统安装了g++、gcc、openssl-d...
分类:
其他好文 时间:
2014-05-28 09:28:53
阅读次数:
368