News for hackers. Stuff that matters.
Re:Using Zig as cross-platform C toolchain by slimsag on Monday February 28, 2022 @03:03AM (#30497501)
Note however Zig actually provides libSystem.tbd stubs out of the box, so you can cross-compile from any OS to macOS too as long as you only depend on libSystem (the macOS libc.)

If you need the rest of the Apple SDK, then you'd need a sysroot (and face the challenges you described.)

There are no comments on this comment yet.