> but I am working on Linux When you cross-compile, you use the special linker (the one shipped with mingw) for Windows, rather than the one you used to use on Linux.
> Also, if -z is not supported (on mingw), why does the Nim compiler use it > (when asking it to specifically compile for Windows with mingw)? Some platforms ship the Nim compiler with a modified version of config files. (which was why I suggested redefining the additional options to empty.) But it seems to not be the case. I now think it's one of your dependencies that adds it.
