[dmd-internals] Shouldn't there be a dmd switch to specify search paths for libraries?
Walter Bright
walter at digitalmars.com
Sat Aug 14 09:24:17 PDT 2010
mrmocool at gmx.de wrote:
> 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).
>
Search paths are never platform-independent.
More information about the dmd-internals
mailing list