Building for Linux on macOS or windows

To be able to cross-compile for Linux, the main requirement is the GTK+ library, which provides the widgets for andlabs UI on Linux. Installing this is a little more difficult as the operating systems don't come with a standard package manager, but if you follow the steps described here it should be possible. The process also involves installing the cross-compiling toolchain, much like other examples in this section. The details for setting up cross-compilation can be found in Cross compiling for Linux with CGo section given in the Appendix, Cross-Compiler Setup. The main steps are outlined here for quick reference.

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

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