This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Who have already used the new GCC option "-fvisibility=hidden" in Mingw+Msys?
- From: Brian Dessent <brian at dessent dot net>
- To: Perty Cay <perty_cay at yahoo dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Wed, 12 Sep 2007 23:58:03 -0700
- Subject: Re: Who have already used the new GCC option "-fvisibility=hidden" in Mingw+Msys?
- References: <122787.39537.qm@web31115.mail.mud.yahoo.com>
- Reply-to: gcc-help at gcc dot gnu dot org
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