All About Windows Compilers - itzjac/cpplearning GitHub Wiki

Want to do game development? Over the past 30 years Windows is being the top platform to develop videogames, 97.03% of the games played and distributed in Steam are built for Windows.

image

Feel free to jump into the steam survey statistics is open to the public.

It doesn't mean you can forget about Linux, and OSX users. Instead means you better get ready to learn more about Windows platform. Linux will come handy when building online games with a traditional server/client network topology.

I created content to scratch the surface and feed your curiosity, the amount of workflow possibilities in Windows is immense. Hope this open your eyes and sets a bar of how complex and hybrid a Windows environment can be.

The next sections are exclusive to Windows and completely optional, but if developing video games is what you aim for, you better follow up the material.

We begin our journey looking at the GNU Compilers in Windows, familiarize with the tools and how to access latest language features and using multiplatform compile targets.

Going deeper into the rabbit hole, the second chapter covers a detailed explanation about different assembly language flavors, how you generate them and how they can be useful.

Next, a very brief example on using different compiler flags to compile strict code, code features that are only available over specific language versions. C/C++ language version with GNU compilers

A chapter about specific caveats using Windows compilers when using command line facilities in Windows, the environment variables. How to customize your workflow in the OS.

Last, being VC the most commonly used C/C++ programming tool in Windows, we cover a chaintool functionality to use different compilers inside VC even for a different OS. In concrete we look at toolchain for clang (inside LLVM suite) integrated with VC. VC toolchain for LLVM(clang)