gcc and -fvisibility=hidden

Mike Frysinger vapier@gentoo.org
Sun Apr 30 06:59:00 GMT 2006


On Sunday 30 April 2006 00:16, Robert Lippmann wrote:
> i've built gcc 3.4.5 and i'm using it for distcc.  unfortunately, my first
> test case is firefox.  it seems to set -fvisibility=hidden and other
> visibility options.  trying to compile anything with this option results in
> gcc reporting it as an unknown option (on both my sparc and cygwin built
> toolchains).  gcc on my gentoo box has no problem with this.

visibility support in vanilla gcc-3.4.x is pretty broken ... Gentoo has a 
bunch of patches (from Fedora i think) to fix a lot of issues, but really 
your best bet is to use like gcc-4.1.0
-mike

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list