4 ms·
Looks like people behind Zig decided to drop support for macOS Catalina, OS released just 3 years ago. So it is not possible to compile Zig for it. It is ridicu
by diimdeep 4y ago
Looks like people behind Zig decided to drop support for macOS Catalina, OS released just 3 years ago. So it is not possible to compile Zig for it. It is ridiculous. https://github.com/ziglang/zig/issues/13313#issuecomment-1296440303 https://github.com/ziglang/zig/issues/13313#issuecomment-129...
- bbkane 4y agoMaybe they'd accept a PR if you volunteer to maintain that work?
- kristoff_it 4y agoAs "ridiculous" as it might be, we're a small non-profit and have to prioritize where to allocate our resources as we develop Zig. When it comes to macOS, we follow the same policy as Apple: support the latest 3 versions of it. Maybe once Zig is fully developed we'll focus our effort on more retrocompatibility. If you want to help us get there faster, consider donating to the Zig software foundation, as we're looking to hire more developers to work full time on Zig (we're 4 full-time people right now). https://ziglang.org/zsf/ https://ziglang.org/zsf/
- diimdeep 4y agoNo, I will not donate, because I think that my money will be spend on unnecessary effort of removing already supported targets, instead of meaningful tasks, like writing simple check in CMake to indicate that given OS is not supported instead of failing with vague error message on link time step.
- YorickPeterse 4y agoHonestly that just sounds like "I want things for free, but I'm not willing to give back anything in return".
- diimdeep 4y agoEven though as you say atm. Apple does not support <=10.15. Latest Xcode 14.3 still supports building applications that target macOS 10.13.[1] So that is not an excuse to drop support for 10.15. [1] https://developer.apple.com/support/xcode/ https://developer.apple.com/support/xcode/
- hiccuphippo 4y agoApparently Apple doesn't support their own OS released just 3 years ago? Why would other people support it?
- flohofwoe 4y agoYou can't even run the current Xcode version on the previous macOS version, which is much more ridiculous, but that's the Apple software development ecosystem for you ;)
- diimdeep 4y agoLatest Xcode 14.3 supports building applications that target macOS 10.13. https://developer.apple.com/support/xcode/ https://developer.apple.com/support/xcode/ While Zig is not even 10.15. andrewrk commented Feb 17, 2023 • macOS 10 is no longer supported by Apple, and therefore also no longer supported by Zig. You have to use one of the latest 3 versions or else your system is not being patched for security vulnerabilities, and likewise zig does not provide support for cross compiling to anything less than the latest 3 versions. https://ziglang.org/download/0.10.0/release-notes.html#macOS https://github.com/ziglang/zig/issues/14651#issuecomment-1434038305 https://github.com/ziglang/zig/issues/14651#issuecomment-143...
- flohofwoe 4y agoYes you can build targets for older macOS version, but can't do so on older macOS versions (unless you dig up a matching Xcode version). But for a pre-1.0 language in development the decision is completely justified IMHO. Catalina is quite ancient by macOS standards.
- YuukiRey 4y ago> Latest Xcode 14.3 supports building applications that target macOS 10.13. That is not what the parent said
- whitehexagon 4y agoSupported systems are listed here: https://ziglang.org/download/0.10.0/release-notes.html#Support-Table https://ziglang.org/download/0.10.0/release-notes.html#Suppo... I also had this issue with a non-updatable MBP, but linux support is good, and I am looking forward to trying Zig out with Risc-V when I can get my hands on some hardware that hopefully wont expire as fast.
- diimdeep 4y agoYes, and dropping Catalina means Zig disregards a lot of not really that old and still powerful Apple hardware, except what on this list: iMac (Mid 2014 or later) iMac Pro MacBook (Early 2015 or later) MacBook Air (Mid 2013 or later) MacBook Pro (Late 2013 or later) Mac Mini (Late 2014 or later) Mac Pro (Late 2013 or later) https://en.wikipedia.org/wiki/MacOS_Big_Sur https://en.wikipedia.org/wiki/MacOS_Big_Sur And by similarity of supporting last 3 macOS release, this will grow to hardware of ~2016 if they drop support of Big Sur next.
- lvass 4y agoYou don't have to use an unsupported, no longer updated, OS on any Apple hardware made in the last 20 years. Just upgrade to GNU/Linux.
- Conscat 4y agoEspecially Void, the best distribution ever!
- hiccuphippo 4y agoZig will eventually support compiling to C, so any platform not directly supported that has a working C compiler will work.
- kristoff_it 4y agoWe already support that. That's (part of) how we bootstrap the compiler :^)