LDC build not found for -lclang:

Newbie2019 newbie2019 at gmail.com
Sat Oct 19 04:45:24 UTC 2019


On Saturday, 19 October 2019 at 04:13:35 UTC, Newbie2019 wrote:
> On Saturday, 19 October 2019 at 03:57:08 UTC, Newbie2019 wrote:
>> I try build ldc master branch with llvm clone from 
>> https://github.com/ldc-developers/llvm.git
>>
>> get this error,  not sure where I am doing wrong, there link 
>> command seems not correct:
>>
>> clang++  -DDMDV2 -DHAVE_SC_ARG_MAX -O3 -DNDEBUG -isysroot
>
>
> some how the $LINK_LIBRARIES is set to "-lclang: -lcd -l&& 
> /usr/bin/clang -fomit-frame-pointer -pipe -O0 
> -L/opt/local/bin/../lib -lphobos2-ldc -ldruntime-ldc -ldl 
> -lpthread -lm -m64"
>
> how should I fix this ?

I find the issue and fixed it,  because I use a shell to proxy 
ldc for debug, so the ExtractDMDSystemLinker get the extra 
symbols.


More information about the digitalmars-d-ldc mailing list