Simon Josefsson wrote:
> I mean, the symbols
> that are not intended to be exported should all be marked with "static"
> anyway.
That's hardly possible in practice. The larger a library is, the larger is
the ratio of internal versus exported symbols. If you want all internal
symbols to be marked
> Simon Josefsson wrote:
>> it appeared to me that a
>> preferable approach would be to fix libtool, and I thought that had
>> been done. Joe Orton of RedHat even asked me to use Libtool's
>> --export-symbols-regex in GnuTLS, for instance. I have been using it
>> all of my libraries for a long ti
Simon Josefsson wrote:
> it appeared to me that a
> preferable approach would be to fix libtool, and I thought that had
> been done. Joe Orton of RedHat even asked me to use Libtool's
> --export-symbols-regex in GnuTLS, for instance. I have been using it
> all of my libraries for a long time. No
Albert Chin wrote:
> 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
Bruno Haible <[EMAIL PROTECTED]> writes:
> Simon Josefsson wrote:
>> > gcc-4.0 now provides support for controlling the set of symbols exported
>> > from a shared library in a reasonable, maintainable way. I have added a
>> > gnulib module to this effect. With documentation, this time :-)
>>
>> Ho
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 "-fvisibil
Simon Josefsson wrote:
> > gcc-4.0 now provides support for controlling the set of symbols exported
> > from a shared library in a reasonable, maintainable way. I have added a
> > gnulib module to this effect. With documentation, this time :-)
>
> How does this relate to something like Libtool's -e
Bruno Haible <[EMAIL PROTECTED]> writes:
> Hi,
>
> gcc-4.0 now provides support for controlling the set of symbols exported
> from a shared library in a reasonable, maintainable way. I have added a
> gnulib module to this effect. With documentation, this time :-)
How does this relate to something
=
Description:
Control of symbols exported by shared libraries.
Files:
m4/visibility.m4
Depends-on:
configure.ac:
gl_VISIBILITY
Makefile.am:
Include:
License:
LGPL
Maintainer:
Bruno Haible
== m4/visibility.m4 ==
# visibility.m4 serial