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

Walter Bright walter at digitalmars.com
Fri Aug 13 14:19:12 PDT 2010



mrmocool at gmx.de wrote:
>>     -L-Lpath
>> works for me on Linux.
>
> Well good old friend optlink doesn't support something like that. And 
> the LIB variable is overwritten by the content specified in sc.ini I 
> think.
>

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.


More information about the dmd-internals mailing list