lobster icon indicating copy to clipboard operation
lobster copied to clipboard

Language tools for M1 Mac and macOS?

Open ornamentist opened this issue 4 years ago • 3 comments

I've tried running the pre-built macoS-x64 lobster download on an M1 Mac but it crashes when run.

I've also downloaded the source with the included XCode project. I've managed to avoid XCode for the whole time I've been using a Mac so I need to do some reading on how to build with that tool. I'll add comments to this issue as I learn more.

ornamentist avatar Jul 17 '21 05:07 ornamentist

Yes, would be good to know where it crashes.

One thing is that if you try to run some Lobster code directly (not with --cpp), it will JIT the code to x86. I can imagine that somehow not working on the M1. That should be apparent in a stack trace.

aardappel avatar Jul 17 '21 06:07 aardappel

see also https://lists.nongnu.org/archive/html/tinycc-devel/2022-01/msg00004.html

erwincoumans avatar Jan 15 '22 01:01 erwincoumans

I currently don't have an M1 machine to try this on.. ideally it would JIT straight to ARM, which it does have an implementation for.

aardappel avatar Jan 15 '22 05:01 aardappel

This is stale, libtcc in Lobster now supports running on M1

aardappel avatar Apr 22 '23 15:04 aardappel