This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: V3 and cross-compiler (AIX 4.3 64-bit mode)
- To: David Edelsohn <dje at watson dot ibm dot com>
- Subject: Re: V3 and cross-compiler (AIX 4.3 64-bit mode)
- From: Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>
- Date: Fri, 8 Jun 2001 21:48:47 +0200 (MEST)
- Cc: rboehne at ricardo-us dot com, Mark Mitchell <mark at codesourcery dot com>, bkoz at redhat dot com, pedwards at disaster dot jaj dot com, libstdc++ at gcc dot gnu dot org, Alexandre Oliva <aoliva at redhat dot com>
- References: <ro@TechFak.Uni-Bielefeld.DE><15137.10512.534207.914453@xayide.TechFak.Uni-Bielefeld.DE><200106081944.PAA23354@makai.watson.ibm.com>
David Edelsohn writes:
> Rainer: Using --disable-multilib actually causes its own problems
> because AIX pthread support requires a multilib.
>
> It looks more like we need different GCC configuration
> rs6000/t-XXX files for 32-bit and 64-bit systems.
I think a better approach would be to teach config-ml.in about AIX
multilibs, and add code there to ensure that test programs not only link,
but also run on the host system. So you could easily leave in different
thread support libs, but exclude 64-bit multilibs if the host doesn't
support executing 64-bit binaries. Easier for the user and more in line
with how this issue is dealt with on other platforms.
Rainer
-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technology, Bielefeld University
Email: ro@TechFak.Uni-Bielefeld.DE