This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Help needed with shared library & symbol hiding


Hi Malli,

Use the '-version-script FILE' switch to explicitly export select symbols.

Sincerely,
--Eljay

Example of my "libtoy.so"
----------------------------------
VERSION {
global:
    Alpha;
    Beta;
    Gamma;
    Delta;
local:
    *;
};
----------------------------------



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]