macOS Sonoma Linker Issue
Renato
renato at athaydes.com
Thu Dec 21 22:19:07 UTC 2023
On Thursday, 21 December 2023 at 19:29:31 UTC, Guillaume Piolat
wrote:
> On Thursday, 21 December 2023 at 18:06:51 UTC, Renato wrote:
>>
>> Unless silly is completely broken, it seems like this is a
>> linker issue again.
>
> Hello, why not use ldc instead of dmd for macOS?
>
> sudo ln -f -s /path/to/ldc/compiler/bin/ldc2 /usr/local/bin/ldc2
> sudo ln -f -s /path/to/ldc/compiler/bin/dub /usr/local/bin/dub
>
> You will get multiple targets (dub -a arm64-apple-macos and -a
> x86_64)
LDC is slow and makes huge multi-MB binaries (is that normal?).
DMD seemed much better to me.
But at least LDC works :) so will use that for now.
More information about the Digitalmars-d-learn
mailing list