Create a dynamic library with unresolved symbols at link time with mingw-w64 I have a file mylib.c with the following content: