Re: exported symbols of shared libraries

2009-03-02 Thread Bruno Haible
Paolo Bonzini wrote: > Well, then using __attribute__ ((visibility ("hidden"))) is more > efficient, and right now almost all GCC users should have switched to > 3.1 or later... The better approach (IMO) is the third one mentioned in doc/visibility.texi, namely to mark every exported function/vari

Re: exported symbols of shared libraries

2009-03-02 Thread Bruno Haible
n see from this doc section, the use of the GCC "visibility" attributes has less drawbacks. Bruno 2009-03-02 Bruno Haible * doc/gnulib.texi (Exported Symbols of Shared Libraries): New section. * doc/visibility.texi: Mention libtool's -export-symbols option. --- doc/