![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
GCC
Jason__Lewis
成长的道路渐行渐远。
展开
-
Linux C 语言生成汇编全过程
程序 //t1.c #include <stdio.h> int main () { printf("Hello, world!\n"); }1 预处理 linux> gcc -E -o t1.i t1.c生成 t1.i 预处理文件。2 编译 linux> gcc -S -o t1.s t1.i o...原创 2018-08-15 22:29:18 · 2525 阅读 · 1 评论 -
创建C共享库和静态库
1 创建C共享库和静态库操作环境,Linux系统下。code /* sth.c 库程序 */unsigned long long sth(unsigned int x, unsigned int y){ return (x+y+x*y);}创建主函数调用fuction.c/* test.c */#include<stdio.h>#include<s...原创 2018-10-04 08:43:32 · 380 阅读 · 1 评论 -
GCC生成Intel汇编
gcc -S -masm=intel sample.c -o sample.s原创 2018-10-22 12:33:49 · 4869 阅读 · 0 评论