UNIX/Linux编程相关工具和资源
转载于http://blog.csdn.net/CLX1314/archive/2006/03/30/643826.aspx
1。linux编程所用的一些工具
GCC 中文手册
http://www.nbfan.com/forum/dispbbs....&ID=1433&page=1
GNU make 指南
http://www.linuxsir.org/bbs/showthr...&threadid=40431
autoconf-2.57手册(英文)
http://www.gnu.org/software/autocon...toconf_toc.html
Autoconf-2.13手册
http://www.linuxforum.net/books/autoconf.html
使用 automake
http://263.aka.org.cn/Lectures/002/...-2.1.4/230.html
使用CVS进行版本管理
http://www.linuxforum.net/books/cvsintro.html
CVS用后感
http://www.linuxsir.org/bbs/showthread.php?t=170538
linux下常用调试工具:
非常好的gdb教程,强烈推荐:
http://www.linuxsir.org/bbs/showthread.php?t=171156
GDB英文文档
http://oldsite.linuxaid.com.cn/deve...howdev.jsp?i=49
gdb基本用法
http://www.linuxsir.com/bbs/showthr...&threadid=45731
gdb的官方文档
http://www.gnu.org/software/gdb/documentation/
linux编程基础:
要入门先看这个,Linux下C语言编程基础知识
http://www.linuxsir.com/bbs/showthr...=&threadid=1005
Linux 下 C 语言编程
http://www.linuxsir.org/bbs/showthr...=&threadid=7192
Linux下的C++编程
http://www.linuxsir.org/bbs/showthr...6723#post276723
linux下的应用程序开发
http://www.lisoleg.net/lisoleg/applications/index.html
参考书籍
Linux程序员指南(The Linux Programmer's Guide)
http://www.linuxhq.com/guides/LPG/lpg.html
UNIX编程环境(The UNIX Programming Environment)
http://www.iu.hio.no/~mark/unix/unix_toc.html
UNIX编程的艺术(The Art of Unix Programming)
http://www.catb.org/~esr/writings/taoup/html/
进程与线程
Linux下的多进程编程初步
http://www.china-pub.com/computers/emook/0439/info.htm
多进程编程
http://www.linuxsir.org/bbs/showthr...&threadid=44083
Linux下的多进程编程
http://www.linuxsir.com/bbs/showthr...&threadid=48887
进程的创建
http://www.linuxsir.org/bbs/showthr...&threadid=44078
POSIX Threads Programming
http://www.llnl.gov/computing/tutor...reads/MAIN.html
linux系统调用
系统调用列表,编程必备
http://www-900.
相关文档:
由于find具有强大的功能,所以它的选项也很多,其中大部分选项都值得我们花时间来了解一下。即使系统中含有网络文件系统(
NFS),find命令在该文件系统中同样有效,只你具有相应的权限。在运行一个非常消耗资源的 ...
由于find具有强大的功能,所以它的选项也很多,其中大部分选项都值得我们花时间来了解一下。即使系统中 ......
1,说明:
ulimit用于shell启动进程所占用的资源.
2,类别:
shell内建命令
3,语法格式:
ulimit [-acdfHlmnpsStvw] [size]
4,参数介绍:
-H 设置硬件资源限制.
-S 设置软件资源限制.
-a 显示当前所有的资源限制.
-c size:设置core文件的最大值.单位:blocks
-d size:设置数据段的最大值.单位:kbytes
-f size:设置创建 ......
tar zxvf samba-3.0.21.tar.gz
shell> cd samba-3.0.21/source
shell> ./configure
shell> make
shell> make install
shell> cp ../examples/smb.conf.default /usr/local/samba/lib/smb.conf & ......
简而言之,产生段错误就是访问了错误的内存段,一般是你没有权限,或者根本就不存在对应的物理内存,尤其常见的是访问0地址.
一般来说,段错误就是指访问的内存超出了系统所给这个程序的内存空间,通常这个值是由gdtr来保存的,他是一个48位的寄存器,其中的32位是保存由它指向的gdt表,后13位保存相应于gdt的下标,最后3位包 ......