After compiling on Cygwin with gcc or clang, ld complains about
/usr/bin/ld: warning: --export-dynamic is not supported for PE+ targets, did you mean --export-all-symbols?
Changing the linkerflag as suggested fixes this behavior, but I am not sure if this is correct. Therefore the question is simple:
What is the difference betwen --export-dynamic
and --export-all-symbols
?