On Wed 07/12/11 19:42 , Peter O'Gorman pe...@pogma.com 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. _______________________________________________ https://lists.gnu.org/mailman/listinfo/libtool