digitalmars.D.ldc - Building macOS universal binaries
- Piotr Fusik (1/1) Sep 03 Can LDC produce binaries for both Intel and Apple silicon CPUs?
- kinke (6/7) Sep 03 Not at once - you can build the binaries for both architectures
- Piotr Fusik (2/10) Sep 03 Thank you!
- Serg Gini (5/8) Sep 07 There was a nice talk about D code building for Steam.
- Guillaume Piolat (2/3) Sep 04 Or you can use redub I think.
Can LDC produce binaries for both Intel and Apple silicon CPUs?
Sep 03
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
Sep 03
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:Thank you!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
Sep 03
On Thursday, 3 September 2026 at 12:59:30 UTC, Piotr Fusik wrote:There was a nice talk about D code building for Steam. But Erik covered the macOS building process in a lot of details I recommend to check his talk and slides https://github.com/ericyoondotcom/dconf-2026-talk/blob/main/slides.pdftargets), and then merge them via Apple's `lipo` tool: https://github.com/ldc-developers/ldc/blob/089b5820596c8a078f590b688375622c9fe8c8d5/.github/actions/merge-macos/action.yml#L35Thank you!
Sep 07
On Thursday, 3 September 2026 at 08:18:13 UTC, Piotr Fusik wrote:Can LDC produce binaries for both Intel and Apple silicon CPUs?Or you can use redub I think.
Sep 04









Serg Gini <kornburn yandex.ru> 