Cannot make sense of LLD linker error with ldc 1.11.0

kinke noone at nowhere.com
Sat Sep 1 19:21:42 UTC 2018


On Saturday, 1 September 2018 at 18:46:32 UTC, Nordlöw wrote:
> Thanks! Is there usually only apps and not libs that are 
> supposed to have linker flags like these?

In this specific case, I'm not sure it's a good idea to set the 
linker in the dub config. Does it absolutely require gold, i.e., 
not work properly with bfd? There used to be issues with 
`-flto=thin` and bfd on Linux, but LDC now defaults to 
`-linker=gold` in that case.


More information about the Digitalmars-d-learn mailing list