ld errors in osx Catalina

Paolo Invernizzi paolo.invernizzi at gmail.com
Wed Oct 9 17:34:33 UTC 2019


On Wednesday, 9 October 2019 at 16:08:41 UTC, rikki cattermole 
wrote:
> On 09/10/2019 11:33 PM, David Briant wrote:
>> [...]
>
> D as a native language links against libc, so using the system 
> c compiler as the linker is a viable method to prevent having 
> to look things up.
>
> Perhaps try ldc? That uses LLVM so may be better on OSX.
>
> Related: https://issues.dlang.org/show_bug.cgi?id=20019
>
> Also those versions on homebrew look to be at least one version 
> out of date.
>
> If ldc on homebrew doesn't work, you should try the versions on 
> the main site (which has dmg's) https://dlang.org/download.html

I confirm that ldc-1.18.0-beta2 works fine on mine Catalina, 
downloaded and activated with the official install script.

/Paolo


More information about the Digitalmars-d-learn mailing list