how to install the new dmd on Mac M1?

MichaelBi shunjie.bi at gmail.com
Thu Aug 25 14:44:22 UTC 2022


On Thursday, 25 August 2022 at 14:37:01 UTC, Steven Schveighoffer 
wrote:
> On 8/25/22 10:19 AM, MichaelBi wrote:
>> I downloaded the new dmd 2.1 on Mac, but with fail message of 
>> "unsupported Arch arm64". how can I do? thanks.
>
> DMD is x86 only. M1 macs can run x86 via rosetta.
>
> I haven't had this specific problem. Can you list the actual 
> commands you are running, and the output from the system?
>
> -Steve

it's simple as following:

-iMac ~ % curl -fsS https://dlang.org/install.sh | bash -s dmd
Unsupported Arch arm64


More information about the Digitalmars-d-learn mailing list