Building macOS universal binaries
Piotr Fusik
fox at scene.no-spam.pl
Thu Sep 3 12:59:30 UTC 2026
On Thursday, 3 September 2026 at 11:05:03 UTC, kinke wrote:
> 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
Thank you!
More information about the digitalmars-d-ldc
mailing list