News for hackers. Stuff that matters.
Re:Cross-compiling binaries for Windows is easier than build... by anonymoushn on Sunday June 19, 2022 @05:07AM (#31797592)
ok: `zig build -Dtarget=native-native-musl -Drelease-fast=true`

This is portable to CPUs with the same features running older linuxes. To be portable to CPUs with fewer features you should specify the CPU family with `-Dcpu=foo_bar` which seems to be the equivalent of `-march=foo-bar`.

There are no comments on this comment yet.