1. 安装mysql 相关依赖库(没有的话就安装,有就不用安装了) 通过 rpm -qa | grep name 的方式验证以下软件包是否已全部安装。gcc* gcc-c++* autoconf* automake* zlib* libxml* ncurses-devel* libmcrypt* ....
分类:
数据库 时间:
2014-07-16 19:07:31
阅读次数:
267
在MAC下切换GCC编译器的办法(MacPorts)这里的办法是通过port命令选项实现的,所以需要先安装MacPorts,具体的安装步骤就不多说了,切换不同版本gcc的命令如下:执行:$ sudo port select --list gcc显示:Password:Available versio...
分类:
其他好文 时间:
2014-07-16 17:39:39
阅读次数:
221
#mf:mult file
#liba: liaxxx.a
#libso:libxxx.so
run:main
./main
mfo:add.c main.c
gcc -c add.c main.c
mfe:mfo
gcc -o main add.o main.o
libo:add.c
gcc -c add.c...
分类:
其他好文 时间:
2014-07-16 17:11:20
阅读次数:
165
[root@vmoffice-7MySQL-python-1.2.3]#pythonsetup.pyinstallfunction)...._mysql.c:133:error:‘ER_SYNTAX_ERROR’undeclared(firstuseinthisfunction)_mysql.c:380:error:‘_mysql_ConnectionObject’hasnomembernamed‘connection’_mysql.c:382:warning:implicitdeclaratio..
分类:
数据库 时间:
2014-07-16 16:40:35
阅读次数:
377
[root@abcndoutils-1.4b9]#makecd./src&&makemake[1]:Enteringdirectory`/nagios/ndoutils-1.4b9/src‘gcc-fPIC-g-O2-I/usr/local/mysql/include-DHAVE_CONFIG_H-c-oio.oio.cInfileincludedfromio.c:11:../include/config.h:261:25:error:mysql/mysql.h:Nosuchfileordir..
分类:
其他好文 时间:
2014-07-16 16:36:52
阅读次数:
245
Searching
To open the search panel for the active file, press
Ctrl + F. Someoptions and actions available through this panel can be controlled from thekeyboard:
Toggle Regular Expression...
分类:
其他好文 时间:
2014-07-16 16:32:20
阅读次数:
187
VC和gcc不同,不能保证静态变量的线程安全性。这就给我们的程序带来了很大的安全隐患和诸多不便。这一点应该引起我们的重视!尤其是在构造函数耗时比较长的时候,很可能给程序带来意想不到的结果。本文从测试代码开始,逐步分析原理,最后给出解决方案。
多线程状态下,VC不能保证在使用函数的静态变量的时候,它的构造函数已经被执行完毕,下面是一段测试代码:
class TestStatic...
分类:
编程语言 时间:
2014-07-16 16:20:55
阅读次数:
261
Search and Replace - Multiple Files
Searching
To open the search panel for files, press Ctrl
+ Shift +
F. You can use thekeyboard to control some search panel options and search actions:
...
分类:
其他好文 时间:
2014-07-16 16:17:14
阅读次数:
212
我们需要编译出运行在ARM平台上的代码,所使用的交叉编译器为arm-linux-gcc。下面将arm-linux-gcc编译工具的一些常用命令参数介绍给大家。 在此之前首先介绍下编译器的工作过程,在使用GCC编译程序时,编译过程分为四个阶段: 1. 预处理(Pre-Processing) 2. 编译...
分类:
系统相关 时间:
2014-07-16 15:18:30
阅读次数:
273
CentOS 7 构造GCC 4.8.2 32位编译环境...
分类:
其他好文 时间:
2014-07-16 09:13:32
阅读次数:
267