News for hackers. Stuff that matters.
Re:Show HN: macOS-cross-compiler – Compile binaries for macO... by DragonStrength on Saturday February 17, 2024 @03:20PM (#39413142)
I’m intrigued. Do you have a starting point? And how does it handle if I need to integrate with another language as well, like Swift?
Re:Show HN: macOS-cross-compiler – Compile binaries for macO... by rockwotj on Saturday February 17, 2024 @10:41PM (#39415963)
I was researching this the other day, here is a non trivial example:

https://github.com/floooh/sokol-tools/blob/master/build.zig

Here is a tutorial: https://www.zvm.app/tutorials/zig-build-cpp.html