This is the mail archive of the gcc@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: -fno-weak, typeinfo, and AIX


>>>>> "Mike" == Mike Stump <mrs@windriver.com> writes:

    >> Unfortunately, if you do not have weak symbols, you cannot pull
    >> this off.

    Mike> If one is using -frepo, then it can be used to control when
    Mike> it is emitted.

I think with shared libraries it's hard.  If you might dlopen a
library way over there, the linker will never know about it in the
main application.  But, you still have to get one and only one copy.
I think whether or not that works depends on the dynamic linker in
question...

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com

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