On Wednesday, 27 March 2019 at 19:18:17 UTC, Mike Wey wrote:

That because of the way the dmd and the linker interpret the arguments.

-L tell dmd to pass the command that follows to the linker.
To tell the linker to link with a library in a known location you would use the -l flag.

For the value passed to -l the linker will prefix `lib` and postfix `.so` `.a`.

So the following should work properly:
`dmd -de -w -L-lgtkd-3 nufsaid'

Thank you very much Mike. Works like a charm. Also found out that pragma(lib, "gtlkd-3") does the trick as well.

--Andrew

Reply via email to