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

Walter Bright walter at digitalmars.com
Fri Aug 13 15:30:30 PDT 2010


I don't agree. While often the library name is known, where it is stored 
on the user's machine can be anywhere. The user shouldn't be modifying 
the code to customize it for his paths.

Andrei Alexandrescu wrote:
> The idea is that pragma(lib, ...) is useless if it's not a single 
> point of modification. If a library requires an extra command line 
> artifact, it may as well give up on the pragma and require two command 
> line artifacts.
>
> Andrei
>
> Walter Bright wrote:
>>    -L-Lpath
>>
>> works for me on Linux.
>>
>> mrmocool at gmx.de wrote:
>>> pragma(lib, ..) is pretty useless without a dmd switch to specify 
>>> search paths for it.
>>>
>> _______________________________________________
>> dmd-internals mailing list
>> dmd-internals at puremagic.com
>> http://lists.puremagic.com/mailman/listinfo/dmd-internals
> _______________________________________________
> dmd-internals mailing list
> dmd-internals at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-internals
>
>


More information about the dmd-internals mailing list