Re: exported symbols from private headers

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.


Really ?
[matthias linux gtk+]$ nm | grep _gtk | wc -l
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 | grep _gtk | wc -l
   $ nm -D | grep _gtk | wc -l


Email: james daa com au

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]