Re: exported symbols from private headers
- From: James Henstridge <james daa com au>
- To: Matthias Clasen <maclas gmx de>
- Cc: gtk-devel-list gnome org
- Subject: Re: exported symbols from private headers
- Date: Sat, 21 Feb 2004 21:25:45 +0800
On 21/02/04 20:54, Matthias Clasen wrote:
Try using "nm -D" (which lists symbols in the table used for dynamic
linking) rather than "nm" (which lists symbols used for debugging).
Older libtool had a broken -export-symbols-regex implementation for
Linux that stripped debugging information rather than modifying the
dynamic symbol table.
Am Sa, den 21.02.2004 schrieb James Henstridge um 11:26:
It is probably worth noting that all symbols get exported under Linux,
even with versions of libtool with a working -export-symbols-regex
implementation. This is because -Wl,--export-dynamic is passed as a
link flag, and seems to take precedence.
[matthias linux gtk+]$ nm libgtk-x11-2.0.so | grep _gtk | wc -l
$ nm libgtk-x11-2.0.so | grep _gtk | wc -l
$ nm -D libgtk-x11-2.0.so | grep _gtk | wc -l
Email: james daa com au
] [Thread Prev