If you have osx arm64 and gcc (not clang) installed...
Walter Bright
newshound2 at digitalmars.com
Wed Apr 8 19:52:30 UTC 2026
On 4/8/2026 10:23 AM, Derek Fawcus wrote:
> Do you specifically want what gcc on osx on ARM64 would produce, or gcc on ARM64?
OSX does things differently. It has to be an osx specific compiler.
> I have an ARM mac to hand, and have an ARM64 Linux VM within it, containing
> gcc. So I could compile under the latter. You could also, just install UTM and
> then an ARM64 debian VM within it.
>
> Alternately, there is a guide for compiling gcc 13 from scratch for ARM online,
> intended specifically for the osx scenario. You could follow that. I did for a
> non ARM device simply as I wanted a copy of gcc-13 which wasn't packaged for my
> Linux system.
>
Thank you for the information! I managed to pry the gcc ARM64 prolog bytes out
of chatgpt.
More information about the Digitalmars-d
mailing list