Currently, only modern POSIX systems are supported. The library has been tested mainly on Linux, FreeBSD, and OSX.
It is likely to work with DragonFlyBSD as well. NetBSD and OpenBSD will probably need
DILL_THREAD_FALLBACK to work as they don't have support for thread local storage. If you are using libdill on these platforms, please let us know.
There is currently no support for Windows. Cygwin is very broken. It doesn't support
AF_UNIX properly, and so no further development will be done for this platform.
Libdill is planned to be ported to Mingw and Windows IOCP instead. Help is welcome.
libdill requires either GCC and Clang. Your mileage with other compilers may vary:
The non-standard language features libdill requires are as follows:
Compiler features and incompatibilities:
DILL_ARCH_FALLBACKoption is incompatible with GCC 6.2.1 when
-fstack-protectoris enabled. Please compile libdill and your application with
-fno-stack-protectorif you need to use the fallback. Non-x86 platforms have not been tested with GCC 6.2.1. Please report your mileage.
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0in a libdill build. Using fortification in your libdill application is possible.
DILL_ARCH_FALLBACKoption. To make it work, try using the