February 2019
Intermediate to advanced
450 pages
11h 59m
English
To install the packages on macOS, it's recommended to use the Homebrew package manager. You probably already have this installed from earlier chapters in this book (for example, when setting up the GTK+ library), but if not, you can download it from https://brew.sh. Once Homebrew is set up, the compiler package is installed using brew install mingw-w64.
Once installed, the compiler can be used with CGo by setting CC=x86_64-w64-mingw32-gcc (for the C toolchain) and CXX=x86_64-w64-mingw32-g++ (for C++ requirements).
Read now
Unlock full access