Hacker Newsnew | past | comments | ask | show | jobs | submitlogin



Neat, I didn't know about -fwhole-program as an alternative to -flto for single-file builds. It should help with compile times a little bit (though I normally only use LTO for release builds, rarely during development, so it's not a big deal either way). With MSVC I think you still have to use LTO (or LTCG as it's called there) to get this effect.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: