栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > C/C++/C#

C++ 编译过程

C/C++/C# 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

C++ 编译过程

编译器 :

gcc:8.1.0 配套 gdb 8.1

mingw

书籍网站:

编译原理_中国大学MOOC(慕课) (icourse163.org)

教授人美课好

《深入分析GCC》这本书怎么样? - 知乎 (zhihu.com)

据这位博主说可以看他写的深入分析gcc 和编译系统透视。

斯坦福的课(编译原理基于龙书):

CS107 Compiling C Programs with GCC (stanford.edu)

CS143: Compilers (stanford.edu)

.....

这位博主的介绍斯坦福大学编译原理课程质量怎么样? - 知乎 (zhihu.com)

MIT的课(基于虎书):

11 Compilers | Computation Structures - MIT …

CS神校CMU的东西应该也很不错,再一个就是国内中科大南大好像都有这方面的公开课在b站上。
 

预处理

指令 : g++ -E xxx.c -o xxx.i  |||||    g++ -E  xxx.c > any leagl string;

Top (The C Preprocessor) (gnu.org)

gcc 官网cpp manual开头就能看到preprocessor

C - Preprocessors (tutorialspoint.com)

The C Preprocessor is not a part of the compiler, but is a separate step in the compilation process. In simple terms, a C Preprocessor is just a text substitution tool and it instructs the compiler to do required pre-processing before the actual compilation.

按该网站所述,c预处理器并不属于编译器的一部分,而是独立的编译步骤C预处理器看作实际编译前指导编译器的一个文本替换。

编译 汇编 链接
转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/528991.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号