V3 and cross-compiler (AIX 4.3 64-bit mode)
David Edelsohn
dje@watson.ibm.com
Fri Jun 8 13:32:00 GMT 2001
>>>>> 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}"
More information about the Libstdc++
mailing list