您的位置:首页 > 运维架构 > Linux

linux build commands

2016-03-15 07:26 393 查看
ldd print shared library dependencies

nm list symbols from object files

readelf Displays information about ELF files

objdump display information from object files objdump -d a.out

strings print the strings of printable characters in files

gprof display call graph profile data

ar create, modify, and extract from archives ar cqs libhello.a hello.o

gcc GNU project C and C++ compiler gcc -c -o hello.o hello.c

gcc -shared -fPIC -o libhello.so hello.c

gcc -o hello main.c -static -L. -lhello

gcc -o hello main.c -L. -lhello
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: