Zig Build System & How to Build Software From Source
summary
Explains why the configure phase and picking a prefix in home dir matter, warns against sudo installs, and gives concrete troubleshooting rules (match dependency versions, read configure output). Demonstrates the Zig Build System as a 50 MB tarball that cross‑compiles and embeds a Clang engine, rips ffmpeg’s original build system out, builds ffmpeg plus dependencies (zlib, lame, vorbis) and finishes ffmpeg port completed faster than upstream’s configure+make (~1m45 on the demo machine), and uses a content‑hash cache to avoid mtime bugs.
AI-written summary · about
chapters (11)
- 0:00Intro
- 2:03Agenda
- 2:35Ways to obtain software
- 7:01Core concepts
- 18:05To-Don't list
- 21:39Dependencies
- 23:11Troubleshooting tips
- 24:55Caching
- 28:05Build systems
- 39:10Summary
- 39:46Outro
related talks
31mBuilding an LSP Server in Zig
34m0xCaml From a System Engineer's Point of View
08mBuild Everything From Source: A Case Study in Fear
01h 22mGetting Up and Running, and Contributing to GHC
59mAnatomy of Cross-Compilation Toolchains
01h 04mCompiler Bugs And Bug Compilers
38mRubyX: Compiling Ruby and it's effect on the community
30mLearning by Pulling Things Apart
