记录一下常用GCC 相关的命令和参数
ldd ---> print share library dependenciy
LD_LIBRARY_PATH---> environment variable, it will search the path accord to this variable.
Also check the ldd to verify this environmental variable
ldconfig-----> configure dynamic linker run-time bind.
it will create a symbol link to the share library, and save it in the catch file. So it can accelarte the speed to find the speed. /etc/ld.so.cache
ld.so----------> dynamic linker or loader
It will load the share library.
nm-----> list the symbols from object file / share library/ static library
as ------> the portal GNU assembley
ld ------------> then GNU linker
gcc ------> GNU project c and c++ compiler and is the shell of as and ld.
readlink---> dispaly value of a symbol link
read value of a symbol link
check the soname
readelf -d sharelibrary