On Mon, Jul 25, 2005 at 05:46:02PM +0200, Bruno Haible wrote: > Simon Josefsson wrote: > > Your module look somewhat gcc-specific, whereas, in theory, > > libtool might work with other compilers too. > > Do you know of other compilers than GCC 4 and MSVC that support the > equivalent of "-fvisibility=hidden"?
The AIX v7 compiler compiles the following: $ cat vis.c extern __attribute__((__visibility__("hidden"))) int hiddenvar; extern __attribute__((__visibility__("default"))) int exportedvar; extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void); extern __attribute__((__visibility__("default"))) int exportedfunc (void); $ xlc -c vis.c [no error] -- albert chin ([EMAIL PROTECTED]) _______________________________________________ bug-gnulib mailing list bug-gnulib@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnulib