Linking to a library via the linker on Windows?

Ali Çehreli acehreli at yahoo.com
Tue Nov 19 23:47:38 PST 2013


On 11/19/2013 11:18 PM, Jeremy DeHaan wrote:
> Like I said in the title, this is related to Windows. Basically, I'm
> looking to put a command line together to keep things consistent between
> Windows, OSX and Linux.
>
> On OSX and Linux I would do -L-lLibraryName, but is there something
> similar that one can do on Windows? Or do I have to add LibraryName.lib
> to the file list? Just wondering!

It looks like it is -L on Windows as well:

   http://dlang.org/dmd-windows.html

Ali



More information about the Digitalmars-d-learn mailing list