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]

rs6000 --with-gnu-ld configuration bug fix


I have checked in this patch.

This fixes a typo in Michael Meissner's Jan 21 configure change.  Without
this patch, configuring on a aix4.1 machine --with-gnu-ld results in a
build failure because aix41-gld.h does not exist.

Mon May 24 20:30:08 1999  Jim Wilson  <wilson@cygnus.com>

	* configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
	Add use of x-aix41-gld.
	
Index: configure.in
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/configure.in,v
retrieving revision 1.246
diff -p -r1.246 configure.in
*** configure.in	1999/05/17 23:58:12	1.246
--- configure.in	1999/05/25 03:30:00
*************** changequote([,])dnl
*** 2920,2938 ****
  changequote(,)dnl
  	rs6000-ibm-aix4.[12]* | powerpc-ibm-aix4.[12]*)
  changequote([,])dnl
! 		if test "$gnu_ld" = yes
! 		then
! 			tm_file=rs6000/aix41-gld.h
! 		else
! 			tm_file=rs6000/aix41.h
! 		fi
  		if test x$host != x$target
  		then
  			tmake_file=rs6000/t-xnewas
  		else
  			tmake_file=rs6000/t-newas
  		fi
- 		xmake_file=rs6000/x-aix41
  		float_format=none
  		use_collect2=yes
  		;;
--- 2920,2938 ----
  changequote(,)dnl
  	rs6000-ibm-aix4.[12]* | powerpc-ibm-aix4.[12]*)
  changequote([,])dnl
! 		tm_file=rs6000/aix41.h
  		if test x$host != x$target
  		then
  			tmake_file=rs6000/t-xnewas
  		else
  			tmake_file=rs6000/t-newas
+ 		fi
+ 		if test "$gnu_ld" = yes
+ 		then
+ 			xmake_file=rs6000/x-aix41-gld
+ 		else
+ 			xmake_file=rx6000/x-aix41
  		fi
  		float_format=none
  		use_collect2=yes
  		;;
Index: configure
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/configure,v
retrieving revision 1.242
diff -p -r1.242 configure
*** configure	1999/05/17 23:58:15	1.242
--- configure	1999/05/25 03:30:00
*************** for machine in $build $host $target; do
*** 5229,5247 ****
  		use_collect2=yes
  		;;
  	rs6000-ibm-aix4.[12]* | powerpc-ibm-aix4.[12]*)
! 		if test "$gnu_ld" = yes
! 		then
! 			tm_file=rs6000/aix41-gld.h
! 		else
! 			tm_file=rs6000/aix41.h
! 		fi
  		if test x$host != x$target
  		then
  			tmake_file=rs6000/t-xnewas
  		else
  			tmake_file=rs6000/t-newas
  		fi
- 		xmake_file=rs6000/x-aix41
  		float_format=none
  		use_collect2=yes
  		;;
--- 5229,5247 ----
  		use_collect2=yes
  		;;
  	rs6000-ibm-aix4.[12]* | powerpc-ibm-aix4.[12]*)
! 		tm_file=rs6000/aix41.h
  		if test x$host != x$target
  		then
  			tmake_file=rs6000/t-xnewas
  		else
  			tmake_file=rs6000/t-newas
+ 		fi
+ 		if test "$gnu_ld" = yes
+ 		then
+ 			xmake_file=rs6000/x-aix41-gld
+ 		else
+ 			xmake_file=rx6000/x-aix41
  		fi
  		float_format=none
  		use_collect2=yes
  		;;


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