This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


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

Re: V3 and cross-compiler (AIX 4.3 64-bit mode)


>>>>> 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}"


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