This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-05-21
Channels
- # announcements (17)
- # babashka (2)
- # beginners (51)
- # calva (14)
- # clojure (30)
- # clojure-europe (12)
- # clojure-uk (3)
- # clojurescript (22)
- # cursive (10)
- # defnpodcast (1)
- # etaoin (1)
- # fulcro (7)
- # graalvm-mobile (3)
- # music (1)
- # obb (4)
- # podcasts-discuss (1)
- # sci (2)
- # shadow-cljs (37)
- # spacemacs (3)
- # xtdb (16)
@smith.adriane In grease, an ios binary (arm) is compiled on an intel machine... given that, would it be theoretically possible to compile an M1 binary on an intel machine?
@borkdude, I'm not totally sure. I think it should be possible, but I'm not sure how much work it might be. The ios compilation uses the https://www.graalvm.org/22.1/reference-manual/native-image/LLVMBackend/#how-to-add-a-target-architecture-to-graalvm-using-llvm-backend. In theory, you should be able to cross compile to any target llvm supports. The llvm backend requires a few more steps. It's not a comprehensive list, but I think you need at least the following: • compiled jdk for target • extra https://www.graalvm.org/22.1/reference-manual/native-image/LLVMBackend/#how-to-add-a-target-architecture-to-graalvm-using-llvm-backend