Fwd: visibility support

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

Which LT_INIT option would enable automatic hidden visibility?

The option -fvisibility=hidden is 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" automatically but only for shared libraries.
I was hoping for an option similar to "win32-dll" but for
sources that use explicit __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.