Error message when trying to link single D file to produce exe

Cecil Ward cecil at cecilward.com
Sat Jun 10 15:43:49 UTC 2023


On Saturday, 10 June 2023 at 14:06:46 UTC, kinke wrote:
> On Saturday, 10 June 2023 at 12:55:10 UTC, Cecil Ward wrote:
>> [...]
>
> Use `-v` in the LDC cmdline to print the 'linker' command 
> executed by LDC. Additionally use `-Xcc=-v` (without 
> `-link-internally`) to make the C compiler print the actual 
> linker cmdline (which would approximately be the one you'd need 
> when linking with `-link-internally`).

Fantastic, thank you for your help, you’ve given me some things 
to research. The download package said something about fetching 
‘Xcode’ or components from it. I found that the tools that I will 
need are already there. ld clang, everything.


More information about the digitalmars-d-ldc mailing list