Avoid exporting of internal symbols

2013-03-03 Thread Satz Klauer
I'm creating a shared library using libtool: libtool --mode=compile g++ -Wall -fPIC -shared -Wno-unused -Wno-unused-result $(CFLAGS) $(LFLAGS) libtool --mode=link g++ -shared -export-symbols-regex mylib_ -rpath /usr/lib $(LFLAGS) (That's a snipped only, there of course is the part that causes com

Re: Avoid exporting of internal symbols

2013-03-03 Thread David
I cant remember now the syntax, but maybe the gcc hidden visibility attribute is what you are looking for. El 04/03/2013 08:06, "Satz Klauer" escribió: > I'm creating a shared library using libtool: > > libtool --mode=compile g++ -Wall -fPIC -shared -Wno-unused > -Wno-unused-result $(CFLAGS) $(LF

Re: Avoid exporting of internal symbols

2013-03-03 Thread Satz Klauer
Sounds good, I'll check that. But doesn't makes that the whole -export-symbol-... command line options of libtool obsolete? On Mon, Mar 4, 2013 at 8:31 AM, David wrote: > I cant remember now the syntax, but maybe the gcc hidden visibility > attribute is what you are looking for. > > El 04/03/201