macOS Sonoma Linker Issue

Gary Chike chikega at gmail.com
Wed Oct 18 16:27:04 UTC 2023


On Wednesday, 4 October 2023 at 11:01:08 UTC, Johan wrote:
>
> Try passing `-ld_classic` to the linker.  (`dmd -L-ld_classic`)

This works for me as well, thank you! I'm running macOS Sonoma 
and XCode 15.0 (15A240d). It appears XCode 15's linker errors are 
wreaking havoc with quite a few other languages as well. I also 
mess around with Crystal and the solution is similar. D is not 
alone :-)

```crystal run --link-flags=-Wl,-ld_classic hello.cr```




More information about the Digitalmars-d-learn mailing list