-fno-weak, typeinfo, and AIX

Mark Mitchell mark@codesourcery.com
Thu Jan 25 17:32:00 GMT 2001


>>>>> "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


More information about the Gcc mailing list