Live data from Hacker News

Show HN: macOS-cross-compiler – Compile binaries for macOS on Linux

github.com

1–10 of 76 posts

Re: Show HN: macOS-cross-compiler – Compile binaries for macOS on Linux

#2
Great to see all of this work brought together like this.

I looked into some of these solutions earlier and the licensing status of doing this is pretty grey and likely violates some of the toolchain licenses.

For personal use, that's not really an issue. It's far easier than trying to get a decently performing OSX runner somewhere, and I don't see Apple caring at all.

Use caution if you are bringing this into a commercial environment.

Re: Show HN: macOS-cross-compiler – Compile binaries for macOS on Linux

#4
post #3

What 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.

Re: Show HN: macOS-cross-compiler – Compile binaries for macOS on Linux

#5
post #4
post #3

What 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.

It’s a project with 20 GitHub stars which wraps up existing tooling to make a fairly niche need easier. The expectation that they’d commission an artist to produce a fun hero image for the readme seems a little odd.

Re: Show HN: macOS-cross-compiler – Compile binaries for macOS on Linux

#6
post #2

Great to see all of this work brought together like this. I looked into some of these solutions earlier and the licensing status of doing this is pretty grey and likely violates some of the toolchain licenses. For personal use, that's not really an issue. It's far easier than trying to get a decently performing OSX runner somewhere, and I don't see Apple caring at all. Use caution if you are bringing this into a comm…

The tooling should be mostly fine, it's all the libraries that are the problem.

Theoretically this could be avoided by making a stub library, but the way namespacing works on OS X means that's tricky.

Re: Show HN: macOS-cross-compiler – Compile binaries for macOS on Linux

#8
Will this allow me to compile, let's say Crystal scripts to macOS from a Linux machine?

Because at the moment, "cross-compilation" with Crystal still requires you to be on the targeted system.

https://crystal-lang.org/reference/1.11/syntax_and_semantics...

Post reply on HN