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
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
相关文章推荐
- Netty4学习笔记(一) 基础篇
- Linux高级编程函数总结
- CentOS设置
- 运维系列之一 Linux的文件与目录权限解析
- 如何在Linux系统查找某文件夹中含有关键字的文件
- Linux常用命令
- solr在centos7下单机版部署
- composer linux全局安装
- Linux命令大全
- 这70个问题总结linux运维人员真正需要的
- 每天一个linux命令(2):cd命令
- 每天一个linux命令(3):pwd命令
- 每天一个linux命令(4):mkdir命令
- 每天一个linux命令(5):rm 命令
- 每天一个linux命令(6):rmdir 命令
- 每天一个linux命令(7):mv命令
- 每天一个linux命令(8):cp 命令
- 每天一个linux命令(9):touch 命令
- 每天一个linux命令(10):cat 命令
- 基于centos的mysql5.6的yum源安装方式