Cannot make sense of LLD linker error with ldc 1.11.0
Nordlöw
per.nordlow at gmail.com
Sat Sep 1 18:46:32 UTC 2018
On Thursday, 30 August 2018 at 20:36:02 UTC, kinke wrote:
> On Thursday, 30 August 2018 at 19:41:38 UTC, Nordlöw wrote:
>> I'm using the tar.xz for x64 Linux. Ok?
>
> You're explicitly adding `-link-internally` in your top-level
> dub.sdl:
>
> dflags "-link-internally" platform="linux-ldc" # use GNU gold
> linker
>
> If you want to go with gold, as your comment suggests, you'd
> use `-linker=gold` instead. For more context wrt.
> `-link-internally` clumsiness on non-Windows, see
> https://github.com/ldc-developers/ldc/issues/2717.
Thanks! Is there usually only apps and not libs that are supposed
to have linker flags like these?
More information about the Digitalmars-d-learn
mailing list