This is the mail archive of the gcc-patches@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:

> 	From my understanding of the discussion, you are trying to avoid
> linking libstdc++.so (and libgcj.so) with static libgcc.a.

Nope.  I'm trying to make sure it's linked with the shared
libgcc_s.*.

> "gcc -shared-libgcc" automatically links with libgcc.a.

I don't have a problem with that.  Apparently, AIX does, so I
understand why your concern :-)

> Why did you install a change which links with the library you are
> trying to avoid and also breaks AIX before addressing this problem?

Because Richard had told me that using -shared-libgcc would fix the
problem at hand, and I didn't realize that one of the implications was
that it would break AIX.  Anyway, if AIX can't have both the shared
and the static libgcc linked into a single program, then
-shared-libgcc was broken on AIX.  The patch I checked in just helped
you realize that.

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