4 hours ago

https://forum.dlang.org/post/qnzudmblexcherfvmmzl@forum.dlang.org

On Wednesday, 6 December 2023 at 18:53:47 UTC, Johan wrote:

>

On Wednesday, 6 December 2023 at 10:40:39 UTC, d007 wrote:

>

You can try setting the version explicitly in the triple, e.g.
-mtriple=arm64-apple-macosx10.11.

From LDC 1.36.0-beta1 [1] you can use MACOSX_DEPLOYMENT_TARGET [2].

cheers,
Johan

[1] https://github.com/ldc-developers/ldc/pull/4534)

[2] https://developer.apple.com/library/archive/documentation/DeveloperTools/Conceptual/cross_development/Configuring/configuring.html https://sprunki-retake.lol

I did the setup just like you shared, I am so grateful for this!