Useful links about Linux/GCC/Cmake/C++

Static, Shared Dynamic and Loadable Linux Libraries

http://www.yolinux.com/TUTORIALS/LibraryArchives-StaticAndDynamic.html

 

Linux C++ library types:

1. Static libraries(.a): Library of object code which is linked with, and becomes part of the application.

2. Dynamically linked shared object libraries (.so)

1) Dynamically linked at run time but statically aware. The libraries must be available during compile/link phase. The shared objects are not included into the executable component but are tied to the execution.

2) Dynamically loaded/unloaded and linked during execution(i.e. browser plug-in) using the dynamic linking loader system functions.

 

Program Library HOWTO

http://tldp.org/HOWTO/Program-Library-HOWTO/

 

Linux Man Page & Linux Doc

http://linux.die.net/man/ 

 

The Linux Documentation Project

http://www.tldp.org/

 

CMake Useful Variables

http://cmake.org/Wiki/CMake_Useful_Variables

1. CMAKE_C_FLAGS / CMAKE_CXX_FLAGS: The compiler flags for compiling C/C++ sources. Can also specify switches with ADD_DEFINITIONS().

2. CMake_SHARED_LINKER_FLAGS: Additional compiler flags for building shared libraries.

set (CMAKE_SHARED_LINKER_FLAGS "-W1, --no-undefined"): Make linker report any unresolved symbols from object files.

 

Gcc Online doc
http://gcc.gnu.org/onlinedocs/gcc/

GNU Compiler Collection and toolchains

http://www.acsu.buffalo.edu/~charngda/cc.html

Using the GNU Compiler Collection (GCC)

http://www.delorie.com/gnu/docs/gcc/gcc_toc.html#SEC_Contents

金步国作品列表
http://lamp.linux.gov.cn/jinbuguo_florilegium.html

GCC编译优化指南
http://lamp.linux.gov.cn/Linux/optimize_guide.html

C 语言常见问题集
http://c-faq-chn.sourceforge.net/ccfaq/ccfaq.html

http://c-faq.com/index.html

 

 

 

 

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值