Cross-compiling to linux on MacOS with cgo

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

Our great sponsors
  • Zigi - Workflow assistant built for devs & their teams
  • Sonar - Write Clean Java Code. Always.
  • Scout APM - Truly a developer’s best friend
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • Bazel

    a fast, scalable, multi-language and extensible build system

    ERROR: While resolving toolchains for target u/io_bazel_rules_go//:cgo_context_data: No matching toolchains found for types u/bazel_tools//tools/cpp:toolchain_type. Maybe --incompatible_use_cc_configure_from_rules_cc has been flipped and there is no default C++ toolchain added in the WORKSPACE file? See for details and migration instructions.

  • bazel-toolchain

    LLVM toolchain for bazel

    I'm really not familiar with this issue or Go nor C++ overall, but if all you need is to set up a C++ toolchain, this should be quite simple and solve your issue.

  • Zigi

    Workflow assistant built for devs & their teams. Automate the mundane part of your day, with live actionable messages for your GitHub & Jira tasks.

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