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:
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.
James.
Really ?
[matthias linux gtk+]$ nm libgtk-x11-2.0.so | grep _gtk | wc -l
0
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.
$ nm libgtk-x11-2.0.so | grep _gtk | wc -l
443
$ nm -D libgtk-x11-2.0.so | grep _gtk | wc -l
423
James.
--
Email: james daa com au
WWW: http://www.daa.com.au/~james/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]