Handmade Hero » Forums » Code » Guide - How to avoid C/C++ runtime on Windows
mmozeiko
Mārtiņš Možeiko
1485 posts
1 project
#12406 Guide - How to avoid C/C++ runtime on Windows
3 months, 1 week ago

Right, that is true. Although if you are using handmade-like build, where everything is single-translation unit, then /GL doesn't really matter. There are no optimizations across translation-units, because there is only one translation unit. So you won't gain anything from link-time optimizations. Everything can be optimized during compilation with /O2 or /Ox /Ot.