To Windows from macOS

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).

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
13.58.116.51