Building application with LDC and -flto=thin fails in link stage

Johan Engelen j at j.nl
Fri Mar 30 10:35:25 UTC 2018


On Thursday, 29 March 2018 at 08:44:21 UTC, Jacob Carlborg wrote:
>
> Please read the reply :), although it could be a bit more clear.

I'll spell it out for you.

Both `dflags` and `lflags` are being used already. With separate 
compilation and linking, there seems to be no way to pass flags 
to the compiler during the linking step: dflags is not used and 
lflags is prefixed with `-L`.

-Johan



More information about the Digitalmars-d-learn mailing list