GCC compiler static libraries and dynamic library
来源:互联网 发布:刘姥姥性格知乎 编辑:程序博客网 时间:2024/05/29 14:31
㈠We know, GCC compiler principle of work
⑵Common file extension
.c C of original program
.C/.cc/.cxx C++ of original program
.m Objjective-C of original program
.i The pretreatment of C has been original program
.iiii The pretreatment of C++ has been original program
.s/.S Assembly language of original program
.hh Pretreatment file pre-processing files
.o object file
.a//.so Compiled a library file compiled a library file
⑶How to compile C file
gcc - c hello.c ----------- hello.o (object file)
gcc -c -o hello2.o hello.c --------hello2.o (object file)
gcc -o hello hello.c ------------ hello (binary)
gcc -o hello hello.o ------------ hello (binary)
If have header files
gcc -I/xxxxx -c -o ;
⑷how to compiler static libraries and dynamic library
static library
1. ar rv libhello.a hello.o XXX.o XXX.o --------------------libhello.a
use static library- GCC compiler static libraries and dynamic library
- Static and dynamic libraries
- MinGW Static and Dynamic Libraries
- Static, Shared Dynamic and Loadable Linux Libraries
- Static, Shared Dynamic and Loadable Linux Libraries
- Static, Shared Dynamic and Loadable Linux Libraries
- Creating a shared and static library with the gnu compiler [gcc]
- linux dynamic , static library
- [Linux] static library & dynamic library
- Cross Compile zlib as static and dynamic library
- Cross Compile zlib as static and dynamic library
- how to compile and link static/dynamic library in linux
- Static Dynamic Library Or Framework
- static and dynamic
- GCC, LLVM, and compiler plugins
- gcc - shared library vs static library
- [Dynamic AX] Static and Dynamic Master Plans
- static linking and dynamic linking
- 公司培训小结
- 3_31_物联网
- jQuery textbox select checkbox radio 取值,设置值
- Java EE ベースの大規模開発における単体テストの実践的アプローチ
- http://acm.nyist.net/JudgeOnline/problem.php?pid=119&&Rmq
- GCC compiler static libraries and dynamic library
- TCP连接探测中的Keepalive 和心跳包
- ubuntu下为tiny6410搭建nfs服务器的方法
- JavaScript面向对象(一)
- Android 中的context, service,active和intent使用详解
- Write a routine that prints out a 2-D array in spiral order
- C语言位运算详解
- [ISAPI_Rewrite] httpd.ini伪静态实现不带www域名自动跳转到带www域名
- 3-3 要求不区分大小写,如abcBA仍认为是回文