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]

Re-enable bi-arch sparc on Solaris 7 and above


Any reason to not re-enable this in mainline and branch, assuming the
branch bootstraps?  The 32x64 cross build problem has been fixed for a
while.

Index: gcc/ChangeLog
from  Alexandre Oliva  <aoliva@redhat.com>

	* config.gcc: Re-enable bi-arch sparc on Solaris 7 and above.

Index: gcc/config.gcc
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config.gcc,v
retrieving revision 1.27.2.6
diff -u -p -r1.27.2.6 config.gcc
--- gcc/config.gcc 2001/04/26 16:04:12 1.27.2.6
+++ gcc/config.gcc 2001/05/20 19:58:00
@@ -3139,19 +3139,18 @@ sparc-*-solaris2*)
 	fi
 	xmake_file=sparc/x-sysv4
 	extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o"
-# At the moment, 32-to-64 cross compilation doesn't work.
-#	case $machine in
-#	*-*-solaris2.[0-6] | *-*-solaris2.[0-6].*) ;;
-#	*-*-solaris2*)
-#		if test x$gnu_ld = xyes
-#		then
-#			tm_file=sparc/sol2-64.h
-#		else
-#			tm_file=sparc/sol2-sld-64.h
-#		fi
-#		tmake_file="$tmake_file sparc/t-sol2-64"
-#		;;
-#	esac
+	case $machine in
+	*-*-solaris2.[0-6] | *-*-solaris2.[0-6].*) ;;
+	*-*-solaris2*)
+		if test x$gnu_ld = xyes
+		then
+			tm_file=sparc/sol2-64.h
+		else
+			tm_file=sparc/sol2-sld-64.h
+		fi
+		tmake_file="$tmake_file sparc/t-sol2-64"
+		;;
+	esac
 	case $machine in
 	*-*-solaris2.[0-4])
 		float_format=i128

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

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