Building macOS universal binaries
kinke
noone at nowhere.com
Thu Sep 3 11:05:03 UTC 2026
On Thursday, 3 September 2026 at 08:18:13 UTC, Piotr Fusik wrote:
> Can LDC produce binaries for both Intel and Apple silicon CPUs?
Not at once - you can build the binaries for both architectures
(using the prebuilt universal macOS package with out-of-the-box
cross-compilation support for the other Apple targets), and then
merge them via Apple's `lipo` tool:
https://github.com/ldc-developers/ldc/blob/089b5820596c8a078f590b688375622c9fe8c8d5/.github/actions/merge-macos/action.yml#L35
More information about the digitalmars-d-ldc
mailing list