Skip to main content

3 docs tagged with "compiler"

View all tags

Compiler-ISA Contract

The two-way promise between a compiler and an instruction set: instruction semantics, ABI, alignment, memory model, undefined behaviour and target features.

Toolchain: Compiler and Build Model

C 编译器驱动把每个 .c 走完预处理、编译、汇编、链接四段;本页给出四段的命令与产物、头文件搜索与 -std/-O/-g/警告/严格别名/可复现/交叉编译的取舍,并按阶段定位典型故障。

Toolchain: Compilers and Standards

gcc、clang、msvc 把同一份源码翻译成互不兼容的二进制:`-std` 决定语言与库特性,ABI 开关决定两个目标文件能否链接,本页按这两条线组织编译器的选择与排障。