Who have already used the new GCC option "-fvisibility=hidden" in Mingw+Msys?

Brian Dessent brian@dessent.net
Thu Sep 13 07:46:00 GMT 2007

Perty Cay wrote:

> The ld.exe is from binutils package, as I check the
> verison, seems the latest version is 2.17.50 which is
> from 2006.08.14.  I don't know if the mingw don't add
> the feature, or it is GCC issues.
> Any one has idea about it?

Visibility is a feature of ELF.  Windows uses the PE format which does
not support symbol visibility.  There is no way for gcc to use that
which the operating system does not provide.


More information about the Gcc-help mailing list