SaaSHub helps you find the best software and product alternatives Learn more →
Macos-cross-compiler Alternatives
Similar projects and alternatives to macos-cross-compiler
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
-
-
-
-
-
-
-
-
-
-
enroot
A simple yet powerful tool to turn traditional container/OS images into unprivileged sandboxes.
-
-
-
-
-
-
-
macos-cross-compiler discussion
macos-cross-compiler reviews and mentions
-
I Like Makefiles
Many have mentioned just, but I'm a much bigger fan of Earthly [0].
It allows you to write something similar to a Makefile, but everything runs in Docker. This gets you isolated builds with parallelism and caching built-in.
I've found it to be great especially for small to medium projects. For some examples, I use it to publish my personal site/blog [1] and to build a C/C++/Fortran/Rust cross-compiler targeting macOS [2].
[0]: https://earthly.dev/
[1]: https://github.com/shepherdjerred/sjer.red/blob/main/Earthfi...
[2]: https://github.com/shepherdjerred/macos-cross-compiler/blob/...
-
I stopped worrying and loved Makefiles
Make is excellent if you use it properly to model your dependencies. This works really well for languages like C/C++, but I think Make really struggles with languages like Go, JavaScript, and Python or when your using a large combination of technologies.
I've found Earthly [0] to be the _perfect_ tool to replace Make. It's a familiar syntax (combination of Dockerfiles + Makefiles). Every target is run in an isolated Docker container, and each target can copy files from other targets. This allows Earthly to perform caching and parallelization for free, and in addition you get lots of safety with containerization. I've been using Earthly for a couple of years now and I love it.
Some things I've built with it:
* At work [1], we use it to build Docker images for E2E testing. This includes building a Go project, our mkdocs documentation, our Vue UI, and a ton of little scripts all over the place for generating documentation, release notes, dependency information (like the licenses of our deps), etc.
* I used it to create my macOS cross compiler project [2].
* A project for playing a collaborative game of Pokemon on Discord [3]
IMO Makefiles are great if you have a few small targets. If you're looking at more than >50 lines, if your project uses many languages, or you need to run targets in a Docker container, then Earthly is a great choice.
[0]: https://earthly.dev/
[1]: https://p3m.dev/
[2]: https://github.com/shepherdjerred/macos-cross-compiler
[3]: https://github.com/shepherdjerred/discord-plays-pokemon
-
Show HN: dockerc – Docker image to static executable "compiler"
It will depend heavily on the docker image you're trying to ship. For example with macos-cross-compiler[0] the resulting binary is over 2GB. With python:alpine[1] it's only 25MB.
Because image isn't copied whether the image is 2GB or 25MB the startup time will be nearly instantaneous for both.
The runtime adds 6-7MB of overhead although I expect that this can be reduced to less than 3MB with some work.
[0]: https://github.com/shepherdjerred/macos-cross-compiler
- So You Want to Ship a Command-Line Tool for macOS
- Show HN: macOS-cross-compiler – Compile binaries for macOS on Linux
-
A note from our sponsor - SaaSHub
www.saashub.com | 18 Jan 2025
Stats
shepherdjerred/macos-cross-compiler is an open source project licensed under GNU General Public License v3.0 only which is an OSI approved license.
The primary programming language of macos-cross-compiler is Earthly.
Popular Comparisons
- macos-cross-compiler VS enroot
- macos-cross-compiler VS dockerc
- macos-cross-compiler VS golang-crossbuild
- macos-cross-compiler VS cargo-bundle
- macos-cross-compiler VS dockcross
- macos-cross-compiler VS unxip
- macos-cross-compiler VS crun
- macos-cross-compiler VS micromamba.mk
- macos-cross-compiler VS force-color.org
- macos-cross-compiler VS traveling-ruby