linux基础知识集锦

1.该文讲述了linux平台下库的类型,包括静态库,动态链接库以及动态装载库。要对这个有深入了解可以参看link and loader这本书。linux下库和可执行文件为ELF格式,windows下PE格式。动态链接linux的实现和windows有所不同。http://www.ibm.com/developerworks/linux/library/l-dynamic-libraries/index.html?S_TACT=105AGX52&S_CMP=content生成动态库时,gcc -shared 或者 gcc -fPIC ,使用动态库时加上 gcc -rdynamic,静态链接库则不需要。 ldd 用来读取程序依赖的 shared library, readelf 可以观察库和可执行文件的ELF内容。关键字: PIC ELF 动态链接库,静态链接。2.介绍了inotify API以及inotify tools。inotify以event的方式来监控用户指定的目录和文件是否有修改,增加,删除。http://www.ibm.com/developerworks/linux/library/l-ubuntu-inotify/index.html3.介绍了libconv字符集之间转换API。http://blog.csdn.net/lijiecong/archive/2008/09/25/2978543.aspx4.GDB的入门级用法,breakpoint , watchpoint,coredump。更具体的自然是参见GDB的官方manual了http://blog.csdn.net/lijiecong/archive/2008/10/21/3115925.aspx5.redhat的官方网站上的manual也是非常出色的http://www.redhat.com/docs/manuals/enterprise/6.动态库的编译和链接http://blog.csdn.net/lijiecong/archive/2008/11/07/3244639.aspx爱的力量大到可以使人忘记一切,

linux基础知识集锦

相关文章:

你感兴趣的文章:

标签云: