This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Brian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]