Handling stdafx.h in cross-platform code
You’re best off using precompiled headers still for fastest compilation. You can use precompiled headers in gcc as well. See here. The compiled precompiled header will have an extension appended as .gch instead of .pch. So for example if you precompile stdafx.h you will have a precompiled header that will be automatically searched for called … Read more