Issue 21355 - dmd support for aarch64
Summary: dmd support for aarch64
Status: NEW
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: Other Linux
: P4 enhancement
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-02 05:08 UTC by odidev
Modified: 2022-12-17 10:31 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description odidev 2020-11-02 05:08:24 UTC
Hi Team,

I was trying to build dmd for aarch64 platform. I followed the steps given at https://dlang.org/dmd-linux.html link, but it looks like dmd is not supported for aarch64.
It will be really helpful if aarch64 support is added to the package. Do you have any plans for the same?
Please let me know if any help is required. I am happy to help for the same.

Thanks
Comment 1 odidev 2021-01-27 11:04:40 UTC
Hi,

Please let me know if there are any plans for adding aarch64 support for dmd.
Comment 2 Lionello Lunesu 2021-11-24 05:25:44 UTC
DMD has a architecture agnostic frontend (this parses the D code), but an Intel specific backend (this generates the binary executable.) It's unlikely that DMD will ever get an ARM (or other) code generator in the backend.

But, lucky for us, there are two other D compilers that use the same DMD frontend (so the same D language) but have more flexible backends: LDC and GDC! These work great on ARM, including Apple MacBook M1! Give them a try!