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: Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>
- Subject: Re: V3 and cross-compiler (AIX 4.3 64-bit mode)
- From: David Edelsohn <dje at watson dot ibm dot com>
- Date: Fri, 08 Jun 2001 16:29:59 -0400
- 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>, gcc-patches at gcc dot gnu dot org
>>>>> Rainer Orth writes:
Rainer> I think a better approach would be to teach config-ml.in about AIX
Rainer> multilibs. Easier for the user and more in line
Rainer> with how this issue is dealt with on other platforms.
Like the following patch?
Robert: if you use this patch and configure with
--enable-aix64=no, is the ppc64 multilib now correctly skipped?
David
* config-ml.in: Allow user to disable AIX pthread and aix64
support.
Index: config-ml.in
===================================================================
RCS file: /cvs/gcc/egcs/config-ml.in,v
retrieving revision 1.16.4.2
diff -c -p -r1.16.4.2 config-ml.in
*** config-ml.in 2001/03/21 23:52:12 1.16.4.2
--- config-ml.in 2001/06/08 20:25:07
*************** mips*-*-*)
*** 392,397 ****
--- 392,419 ----
esac
;;
powerpc*-*-* | rs6000*-*-*)
+ if [ x$enable_aix64 = xno ]
+ then
+ old_multidirs="${multidirs}"
+ multidirs=""
+ for x in ${old_multidirs}; do
+ case "$x" in
+ *ppc64* ) : ;;
+ *) multidirs="${multidirs} ${x}" ;;
+ esac
+ done
+ fi
+ if [ x$enable_pthread = xno ]
+ then
+ old_multidirs="${multidirs}"
+ multidirs=""
+ for x in ${old_multidirs}; do
+ case "$x" in
+ *pthread* ) : ;;
+ *) multidirs="${multidirs} ${x}" ;;
+ esac
+ done
+ fi
if [ x$enable_softfloat = xno ]
then
old_multidirs="${multidirs}"