This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: libstdc++ libtool lossage
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: David Edelsohn <dje at watson dot ibm dot com>
- Cc: Richard Henderson <rth at redhat dot com>, gcc at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org, java-patches at gcc dot gnu dot org
- Date: 22 Feb 2002 01:02:25 -0300
- Subject: Re: libstdc++ libtool lossage
- Organization: GCC Team, Red Hat
- References: <20020217005638.A9525@redhat.com><orofijmrfh.fsf@free.redhat.lsd.ic.unicamp.br><20020221000218.B18952@redhat.com><ory9hm60hw.fsf@free.redhat.lsd.ic.unicamp.br><20020221124457.B19445@redhat.com><orheoa5xdf.fsf@free.redhat.lsd.ic.unicamp.br><20020221141806.A19560@redhat.com><or8z9m5tzf.fsf@free.redhat.lsd.ic.unicamp.br><20020221153343.A19615@redhat.com><or4rka430j.fsf@free.redhat.lsd.ic.unicamp.br><200202220334.WAA22924@makai.watson.ibm.com>
On Feb 22, 2002, David Edelsohn <dje@watson.ibm.com> wrote:
> If you make this change, we need to change gcc.c init_gcc_specs so
> that the -shared-libgcc case only links against the gcc_s. Currently
> -shared-libgcc links against both shared and static:
> sprintf (buffer, "%%{shared-libgcc:%s %s}", shared_name, static_name);
> This is definitely not what you want
I'm not sure I understand what's to be the expected behavior of
-shared-libgcc in the case of AIX. You seem to have a good
understanding of what is required to fix the problem on AIX, so how
about suggesting a patch that would get -shared-libgcc to behave the
way that would be convenient for AIX?
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer