Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


> 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 :).


gcc certainly compiles for ARM and understands Darwin/mach-o. It can probably target iOS. What would the major barrier be for gcc to work?


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



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


That's not true. GCC, Clang and MSVC are supported.

http://erlang.org/doc/installation_guide/INSTALL.html




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: