News for hackers. Stuff that matters.
Re:Using Zig as cross-platform C toolchain by ifreund on Monday February 28, 2022 @07:46AM (#30499233)
For example:

zig cc -target x86_64-linux-gnu.2.28

Re:Using Zig as cross-platform C toolchain by formerly_proven on Monday February 28, 2022 @10:49AM (#30501158)
That's very cool. While searching for it, I only found an older blog post where it said that internally it can do that, but there wasn't an option yet.

For anyone else trying this, it seems like Autotools/configure doesn't like CC with arguments, creating a wrapper script works though.