microsoftarchive / redis

Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes
http://redis.io
Other
20.84k stars 5.38k forks source link

Build with mingw-w64 / msys2 #467

Open jeroen opened 8 years ago

jeroen commented 8 years ago

Is it possible to build static libraries (libhedis.a) that can be linked into a mingw-w64 application?

enricogior commented 8 years ago

Hi @jeroenooms if you are interested in stand alone hiredis for Windows, you'll find it here: https://github.com/microsoft/hiredis. The one used for Redis on Windows has too many dependencies to be linked in other projects.

jeroen commented 8 years ago

Thanks! The question still stands though if that can be built with mingw-w64 / msys2 ?

enricogior commented 8 years ago

@jeroenooms as you may imagine, it's not a supported scenario, but it may work, probably with some fixes here and there.