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 bu
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 -DP
>> Which LT_INIT option would enable the hidden symbol visibility support?
>
> There is no such thing in libtool as far as I am aware. Libtool is all
> about supporting a core set of features in a portable way.
I was really asking to implement LT_INIT(elf-hidden) in the spirit of
LT_INIT(win32-dl
>> Which LT_INIT option would enable the hidden symbol visibility support?
>
> Libtool is all about supporting a core set of features in a portable way.
It is not about my use case, which I solved, it is about making
-fvisibility=hidden into a core Libtool feature. I will summarize and
never bothe
>> And as I prefer DLL compared to static lib, I know what to do :-)
>
> I have the distinct impression that static libraries are rarely used under
> Windows any more.
Perhaps I am off base here. Isn’t this why DLL comes paired with a LIB wrapper,
while static is just LIB. VC links with LIB
On Sun, Feb 6, 2022 at 11:57 AM Daniel Herring wrote:
> I would personally recommend the "slow" process unless you are confident
> this release will "do no harm".
Hasn't it been slow enough already? Some say the project is finished.