Manually installing compilers
Installing compilers and toolchains is complex, but this appendix will attempt to guide you through the main steps. This approach is sometimes preferred by developers who want to manage every single detail of their computer. It may also be easier if your computer has previously been used for C development and creating native apps for multiple platforms.
Preparing to build for a different target varies, depending on the system you want to compile for. We'll start by looking at macOS, before exploring Windows and Linux afterward. It is not necessary to follow these steps to build mobile apps since we installed these tools in Appendix B: Installing Mobile Build Tools.
Cross compiling for macOS
When cross compiling for macOS, it's necessary to install the Software Development Kit (SDK) from Apple, as well as a suitable compiler. The instructions for Windows (using MSYS2, as described in Appendix A, Developer Tool Installation) and Linux...