Zig 内蔵の zig cc / zig c++ でクロスコンパイルします。Windows 向けは GNU ABI、macOS 向けは Zig 同梱の libSystem スタブを使用します。
zig cc
zig c++