libtool
[Top][All Lists]
Advanced

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

Re: Re: Local function in shared object?


From: Mark R Bannister
Subject: Re: Re: Local function in shared object?
Date: Fri, 9 Dec 2011 08:44:24 +0000

On Wed 07/12/11 19:42 , Peter O'Gorman address@hidden sent:
> On 12/07/2011 11:45 AM, Mark R Bannister wrote:
> > The function is not declared with any special keywords. It is not static.
> > Yet, when compiled with gcc on Solaris and a .so target is built with
> > libtool, the function is reported by nm as LOCAL, instead of GLOBAL.
> 
> Hi,
> 
> How is the .so being created? Is a linker script or libtool's export 
> symbols flags being used?
> 
> Peter

Thanks for responding Peter, much appreciated.

Your question got me thinking and I discovered the project was using a version
script (-Wl,--version-script=<file>).  I'm not really used these before, so
didn't understand what it was doing.  Now I do!

Best regards,
Mark.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]