Show HN: macOS-cross-compiler – Compile binaries for macOS on Linux
11–20 of 76 posts
Re: Show HN: macOS-cross-compiler – Compile binaries for macOS on Linux
#12What is happening with that first picture?? Is that an extra penguin arm coming out of the apple?
The penguin is holding the apple, unfortunately rather than commissioning an actual artist they've seemingly gone for AI art, so the penguin also has three arms. The left foot with the third arm there is also a bit... weird and deformed.
Maybe an artist (for example, you) could donate his or her time and provide them with a better logo for free.
Re: Show HN: macOS-cross-compiler – Compile binaries for macOS on Linux
#13Does this not need any xcode/macos license?
Re: Show HN: macOS-cross-compiler – Compile binaries for macOS on Linux
#14That said I wonder what Apple would do if this is used outside of that case...
Re: Show HN: macOS-cross-compiler – Compile binaries for macOS on Linux
#15Speaking of cross compilers - I was able to use the zig toolchain in order to cross compile for macos apple silicon, arm Linux, windows x64, windows arm and x86_64 Linux musl (statically linked). It's super handy and works as a drop in.
I’m curious what the blockers are for rustc to cross-compile like zig does natively.
Re: Show HN: macOS-cross-compiler – Compile binaries for macOS on Linux
#16Code signing is required for aarch64 macs unless they have SIP disabled, so this is kind of important.
Re: Show HN: macOS-cross-compiler – Compile binaries for macOS on Linux
#17The problem with this is licensing: the macOS SDK license says that it's only to be used on an "Apple-branded computer". That said I wonder what Apple would do if this is used outside of that case...
Re: Show HN: macOS-cross-compiler – Compile binaries for macOS on Linux
#18> Code signing (but not notarizing) should be possible with this project, but it is untested Code signing is required for aarch64 macs unless they have SIP disabled, so this is kind of important.
I get away with distributing internal tools to my team completely ad-hoc signed, as long as I download them with cURL or SFTP. Downloading with a browser taints them, of course, and gatekeeper will prevent you from running them.
Re: Show HN: macOS-cross-compiler – Compile binaries for macOS on Linux
#19The problem with this is licensing: the macOS SDK license says that it's only to be used on an "Apple-branded computer". That said I wonder what Apple would do if this is used outside of that case...
Apple ships extra stickers with their logo in the box with a lot of their products, maybe slap one on your computer and see how far it gets you in court?
Re: Show HN: macOS-cross-compiler – Compile binaries for macOS on Linux
#20Speaking of cross compilers - I was able to use the zig toolchain in order to cross compile for macos apple silicon, arm Linux, windows x64, windows arm and x86_64 Linux musl (statically linked). It's super handy and works as a drop in.
Interestingly you can use zig within your Rust build to more easily cross-compile: https://github.com/rust-cross/cargo-zigbuild I’m curious what the blockers are for rustc to cross-compile like zig does natively.