This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: How to control to use the function static linked to a shared library
"Hongbo Li" <hongbol@nortel.com> writes:
> Thanks for the information. I will take a look at the manual. When you
> talk about the attribute, does that mean I need to change my source
> code?
Yes.
> Do you think the new option -fvisibility=hidden in gcc 4.0.0 would
> solve this issue?
It would change what happens. You would have to decide whether it
does what you actually want.
> I am using gcc 3.3.2.
I don't think these features are supported in that old version,
unfortunately.
Ian