Hi, I'm trying to use "-Wl,--version-script=xyz.map" to filter the symbols exported from a dll, but I can't make it work (everything gets exported). Is possible to use it on Code::Blocks+Cygwin+Windows?
I added the version script command to the "Other linker options" of the "Linker Settings" of the "Project build options" dialog. I know the options are being added to the linker invocation and that the version script is being read because syntax errors in the script make the link fail, but anyway everything gets exported as I said.
I found this technique in
http://people.redhat.com/drepper/dsohowto.pdf. I tried also the attribute visibility trick but it seems it's not yet supported by the gcc compiler in Cygwin and the libtool method is not applicable because Code::Blocks doesn't use libtool. So... any advice regarding will be welcome!

TIA,
Och