GUI library for D

Andrej Mitrovic andrej.mitrovich at gmail.com
Tue Apr 5 13:58:11 PDT 2011


On 4/5/11, Jacob Carlborg <doob at me.com> wrote:
> On 2011-04-05 20:57, Andrej Mitrovic wrote:
>> On 4/5/11, Jacob Carlborg<doob at me.com>  wrote:
>>> It's handy if you have a common directory with lib files.
>>
>> Well I've always wanted to do that, but how eactly do you set a
>> library search directory with Optlink/DMD?
>
> Don't know about Optlink but on Posix systems it's: -L-L/path/to/libraires

Oh well that's an LD trick then. :)

I have figured out a way to do it with Optlink, but I have to use the
LIB environment variable. So in a batch file I could have:
set LIB=C:\PathToMyLib\;%LIB%
dmd test.d myLib.lib

This will work. I should update the dwiki entry and add this information there.


More information about the Digitalmars-d mailing list