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
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
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