ldc and homebrew in macos
Ervin Andrews
scudcarbon at gmail.com
Fri Aug 8 08:10:10 UTC 2025
On Friday, 11 July 2025 at 17:25:48 UTC, Gerardo Cahn wrote:
> A minor problem: when homebrew upgrades llvm in my macos (last
> time, from 20.1.7 to 20.1.8), I need to manually change one
> line in ldc2.conf so that ld doesn't complain; this file
> (/opt/homebrew/Cellar/ldc/1.41.0/etc/ldc2.conf) has a fixed
> reference to llvm:
> ...
> lib-dirs = [
> "/opt/homebrew/Cellar/ldc/1.41.0/lib",
>
> "/opt/homebrew/Cellar/llvm/20.1.8/lib/clang/20/lib/darwin", //
> compiler-rt directory
> ];
> ...
>
> Could something be negotiated so that llvm/homebrew scripts
> create a symbolic link, allowing ldc2.conf to be less
> version-specific?
>
> (I know this is more an llvm/homebrew issue, but at the end of
> the day, ldc is affected)
>
> Tks/rgds,
>
> GlC
I’ve run into the same problem with ldc on macOS after LLVM
upgrades via Homebrew.
https://geometrydashlite2.io
More information about the digitalmars-d-ldc
mailing list