Tag:cross-compiling
All the articles with the tag "cross-compiling".
Cross-compiling C and Go via cgo with Bazel
Posted on:May 31, 2025 at 10:15 AMWalkthrough for cross compiling a mixed C and Go binary for another platform using cgo and Bazel. Example is done with x86_64/Linux compiling for RISC-V/Linux.
Cross compiling C and C++ with Bazel
Posted on:October 16, 2023 at 05:30 PMLearn how to utilize Bazel's toolchains and platforms to cross-compile C and C++ for another architecture and OS. The example used is cross-compiling for a bare-metal RISC-V machine.