cross build on Linux with cgo with github ci/cd

This page summarizes the projects mentioned and recommended in the original post on /r/golang

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • gopsutil

    psutil for golang

  • I'm trying to cross build on Linux a project which uses https://github.com/shirou/gopsutil.

  • xcgo

    Golang cross-platform builder docker image with CGo and other tooling

  • Hi. You can use https://github.com/neilotoole/xcgo. I use their docker image to build linux/mac.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • osxcross

    Mac OS X cross toolchain for Linux, FreeBSD, OpenBSD and Android (Termux)

  • You can build and use https://github.com/tpoechtrager/osxcross toolchain. Mentioned xcgo probably uses that.

  • docker-go-mingw

    Docker image for building Go binaries with MinGW toolchain

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts