acehreli at yahoo.com
Sun Jan 22 00:11:21 PST 2012
On 01/21/2012 06:28 PM, Mars wrote:
> On Sunday, 22 January 2012 at 00:50:28 UTC, Ali Çehreli wrote:
>> Are you also including the library on the command line with -L-l? For
>> example, for ncurses:
>> dmd ... -L-lncurses ...
>> And if needed, also -L-L to specify the location of library files for
>> the linker.
> Yes, I am including it. Tried pragma and command line. And I don't get a
> message that the lib couldn't be found.
> What exactly is -L-l supposed to do? Is this valid in DMD 2.057? I get
> an error with it (Unknown Option).
-L is dmd's the linker flag option. Anything after that is passed to the
linker. So -L-l passes -l to the linker:
More information about the Digitalmars-d-learn