macOS ldc2 link with clang warning

d007 d007 at gmail.com
Wed Dec 6 10:40:39 UTC 2023


To build a binary support old macOS with clang, you can use 
options like `-arch x86_64 -mmacosx-version-min=10.11`


when link with ldc2 (1.36.0-beta), there will be a warning


```sh
object.o has version 13.0.0, which is newer than target minimum 
of 10.11.0
```

Is there a way to set the ldc2 generate same version object like 
clang option `-mmacosx-version-min=10.11` ?


More information about the digitalmars-d-ldc mailing list