dmd -Wl=comma_separated_linker_flags (cf clang++ -Wl, comma_separated_linker_flags)
Guillaume Boucher via Digitalmars-d
digitalmars-d at puremagic.com
Sun Dec 11 15:36:07 PST 2016
On Sunday, 11 December 2016 at 21:39:26 UTC, Timothee Cour wrote:
> is there a way to pass linker flags?
> dmd -Wl=comma_separated_linker_flags
> eg:
> dmd -Wl=-lbar,-Ldir,--export-dynamic,-pie
>
> (same functionality as clang++
> -Wl,-lbar,-Ldir,--export-dynamic,-pie)
>
> If not could we support it? Would make a lot of things easier.
Just use shell expansions?
dmd -Wl,-{lbar,Ldir,-export-dynamic,pie}
More information about the Digitalmars-d
mailing list