visibility support

Alexei Podtelezhnikov <[email protected]>
Newsgroups gmane.comp.gnu.libtool.general
Message-ID <CAJU=AjWL5GZc1ZFpDK=Ajh_HOvkE1GqUnWVRNKgnsPyQ7eztqw@mail.gmail.com>
Dear all,

Which LT_INIT option would enable the hidden symbol visibility support?

The option -fvisibility=hidden is useful and supported by all major
compilers today including gcc, clang, and icc. There is
-xldscope=hidden on Solaris too. I was hoping to see something similar
to adding "-fPIC -DPIC" when appropriate using some option (if not by
default). I was hoping for something similar to "win32-dll" but for
sources that use__attribute__((visibility("default")).


Thank you,
Alexei

_______________________________________________
https://lists.gnu.org/mailman/listinfo/libtool
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.