This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -fno-weak, typeinfo, and AIX
- To: mrs at windriver dot com
- Subject: Re: -fno-weak, typeinfo, and AIX
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Thu, 25 Jan 2001 17:38:19 -0800
- Cc: gcc at gcc dot gnu dot org, jason at cygnus dot com
- Organization: CodeSourcery, LLC
- References: <200101260121.RAA01701@kankakee.wrs.com>
>>>>> "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