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
AVR/GCC设置不链接未调用的函数
http://blog.csdn.net/shevsten/article/details/7049688在AVR
Studio4/5的AVR/GCC默认设置下,未调用的函数也会被link进最终的镜像,从而增大image的大小,这会浪费flash资源.以下是如....
分类:
其他好文 时间:
2014-06-04 18:59:56
阅读次数:
840
使用的是Philip Hazel的Perl-Compatible Regular
Expression库,参考:http://see.xidian.edu.cn/cpp/html/1428.html执行匹配的时:gcc
myreg.cip.pat 内容:ip.*[0-9]+\.[0-9]+\.[0-...
分类:
其他好文 时间:
2014-06-03 14:07:42
阅读次数:
473
详细请参考这篇博文http://blog.csdn.net/dbzhang800/article/details/7540905运行字符编码就是指,当你源代码写下const
char* p = "我";的时候(不管源文件保存为什么编码格式,但标准规定源文件带bom utf8),编到二进制模块内的常量...
分类:
编程语言 时间:
2014-05-31 12:57:00
阅读次数:
367
mv/var/lib/rpm/__db*/tmprpm--rebuilddbyumcleanall
分类:
其他好文 时间:
2014-05-30 09:19:30
阅读次数:
167
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
安装说明系统环境: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
1.如何在gcc中传输宏定义?参考如下红色部分,可以传入宏定义gcc [-c|-S|-E]
[-std=standard] [-g] [-pg] [-Olevel] [-Wwarn...] [-pedantic] [-Idir...] [-...
分类:
其他好文 时间:
2014-05-26 18:08:16
阅读次数:
183