Installing ldc beta on macOS

Joel joelcnz at gmail.com
Tue Sep 23 22:36:43 UTC 2025


On Tuesday, 23 September 2025 at 12:55:43 UTC, Paolo Invernizzi 
wrote:
> On Monday, 22 September 2025 at 22:34:18 UTC, Joel wrote:
>> On Monday, 22 September 2025 at 10:28:42 UTC, kinke wrote:
>>> On Monday, 22 September 2025 at 09:40:45 UTC, Joel wrote:
>>>> (see title)
>>>> https://github.com/ldc-developers/ldc/releases/tag/v1.41.0-beta1
>>>>
>>>> I tried homebrew, and that compiles, but doesn't run. (I've 
>>>> uninstalled it from there).
>>>>
>>
>> I don't think home brew has the latest version. How do I 
>> install ldc with out home brew?
>
> Homebrew has the latest version, and before that the maintainer 
> back ported the fix also to prior versions.
>
> https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/l/ldc.rb

I'd unistalled brews ldc, and reinstalled ldc, but I get (I'm 
using a Intel machine):

clang: error: invalid Darwin version number: macos15
clang: error: invalid version number in 
'--target=x86_64-apple-macos15'
Error: /usr/bin/cc failed with status: 1
Error ldc2 failed with exit code 1.



More information about the digitalmars-d-ldc mailing list