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

Andrei Alexandrescu andrei at erdani.com
Fri Aug 13 16:01:13 PDT 2010


That's a good argument too. I think both situations are possible (i.e. 
relative paths etc.)

Andrei

Walter Bright wrote:
> 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
>>
>>
> _______________________________________________
> 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