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]
Other format: [Raw text]

Re: libstdc++ libtool lossage


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


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