5 ms·
True. IIRC Erlang only supports GCC as the build system. I helped fixing a race in the BEAM a while back that only occurred on the latest GCC.
by arjan_sch 6y ago
True. IIRC Erlang only supports GCC as the build system. I helped fixing a race in the BEAM a while back that only occurred on the latest GCC.
- KenoFischer 6y ago> IIRC Erlang only supports GCC as the build system. Since gcc doesn't work on Apple Silicon, I assumed the OP must be using clang :).
- asveikau 6y agogcc certainly compiles for ARM and understands Darwin/mach-o. It can probably target iOS. What would the major barrier be for gcc to work?
- manquer 6y agoGiven that Apple silicon is pretty new my guess it porting and testing , I would also add not all ARM chips are exactly the same , there will be some minor nuances for sure . Perhaps it is also some funding and access to the kits and dev time , updating gcc is not a full time job for most of the contributors after all.
- deleted 6y ago[deleted]
- KenoFischer 6y agoSee https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96168 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96168.
- deleted 6y ago[deleted]
- asveikau 6y agoThis is a great thread, thanks! (And I see that your name is in the thread.) I gather from there that previous efforts to target iOS are outdated, there is substantial work to handle the Apple ABI, and that it's not been seriously looked at yet.
- filmor 6y agoThat's not true. GCC, Clang and MSVC are supported. http://erlang.org/doc/installation_guide/INSTALL.html http://erlang.org/doc/installation_guide/INSTALL.html