[dmd-internals] Shouldn't there be a dmd switch to specify search paths for libraries?

mrmocool at gmx.de mrmocool at gmx.de
Sat Aug 14 03:13:15 PDT 2010


Am 13.08.2010, 23:19 Uhr, schrieb Walter Bright <walter at digitalmars.com>:

> dmd will pass any switch directly to the linker with the -L command. I  
> know optlink has a problem with lib paths, but such is not fixable by  
> enhancing pragmas, but by enhancing optlink.

Well then optlink should get -Lpath to use it via -L-Lpath I guess.
At least there should be some platform-independent way to add a search  
path for libraries (no matter if they are included via pragma or  
commandline).


More information about the dmd-internals mailing list