| Section | Title |
|---|---|
| 1 | Target Triples |
| 2 | Operating Systems |
| 3 | CPU Architectures |
| 4 | libc and Freestanding Builds |
| 5 | Static and Dynamic Linking |
| 6 | Release Modes |
| 7 | Exercises |
Target TriplesOne of Zig's main design goals is cross compilation.
Operating SystemsThe operating system part of a target tells Zig what kind of system the program will run on.
CPU ArchitecturesThe architecture part of a target tells Zig what kind of processor the program will run on.
libc and Freestanding BuildsA Zig target may use a C library, or it may use none.
Static and Dynamic LinkingA program is made from object code.
Release ModesZig can build the same source code in different optimization modes.
ExercisesThis section collects the chapter exercises into one working set.