Building a Host-Tuned GCC to Make GCC Compile Faster
Summary
The article explains how to build a host-tuned GCC to reduce compile times, using options like bootstrap-native, bootstrap-lto, and bootstrap-O3, along with profile-guided optimization (PGO). It provides a detailed build-and-benchmark workflow, including commands and benchmark results against a distro-provided GCC. The author notes the environment (WSL2) and discusses tradeoffs and potential gains across workloads.