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]

Re: AIX 4 libtool configuration


On Nov 13, 2000, Ossama Othman <ossama@valinor.ece.uci.edu> wrote:

> Thanks for volunteering me. :-)

You're welcome :-)

Consider yourself volunteered to apply Mark Mitchell's patch too :-)

His patch has just gone into the GCC tree, and I'd rather keep the
trees from diverging as much as possible.

The rationale for his change is that, in the ML branch, the
configuration for C knows that libstdc++ isn't being linked in
implicitly, so we don't have to save ourselves from the risk of having
a static non-PIC libstdc++.

Also, in case you feel like merging any of these patches into 1.4,
Mark Mitchell's patch isn't safe for libtool.m4, because we can't
assume libstdc++ is not being linked in in the language-unaware
libtool; you may use the same code if you change the condition so that
it also tests whether gcc is 2.8 or newer, and add -mimpure-text to
the link command, so that we don't fall victim of the static libstdc++
problem.

-- 
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    *Please* write to mailing lists, not to me

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