How to link *.a file on Windows?

Brian via Digitalmars-d digitalmars-d at puremagic.com
Thu Sep 22 23:27:20 PDT 2016


On Thursday, 22 September 2016 at 17:09:38 UTC, Brian wrote:
> I use cygwin build a C++ lib file:
>
> libmemcached.a
>
> but, how to link it to my dub project?

My plan:
1.I use cygwin build libmemcached.dll
2.use def tools export libmemcached.def
3.use VS2015 dev tools convert libmemcached.dll to 
libmemcached.lib
4.use coffimplib convert libmemcached.lib for D compiler

but, this plan must dep dll file.

how to static link libmemcached.lib?


More information about the Digitalmars-d mailing list