sparc64-*-solaris2 patch

Michael Meissner meissner@redhat.com
Mon Sep 10 14:15:00 GMT 2001


I discovered that gcc, binutils, and gdb are inconsistant on the tuple
used for Solaris on 64-bit platforms (gcc wanted sparcv9-*-solaris2,
binutils wanted sparc64-*-solaris2).  I added the following to
config.gcc so that you can configure for sprac64-solaris2 in a mixed
tree (gcc + binutils environment).  I built a sparc64 compiler with
these changes (but it did not bootstrap due to other problems).

2001-09-10  Michael Meissner  <meissner@redhat.com>

	* config.gcc (sparc64-*-solaris2): Add alias to be compatible with
	binutils, gdb.

*** gcc/config.gcc.~1~	Thu Aug 30 20:12:07 2001
--- gcc/config.gcc	Mon Sep 10 16:48:35 2001
*************** sparc-*-rtems*|sparc-*-rtemself*)
*** 2934,2940 ****
  	  thread_file='rtems'
  	fi
  	;;
! sparcv9-*-solaris2*)
  	if test x$gnu_ld = xyes
  	then
  		tm_file=sparc/sol2-64.h
--- 2934,2940 ----
  	  thread_file='rtems'
  	fi
  	;;
! sparcv9-*-solaris2* | sparc64-*-solaris2*)
  	if test x$gnu_ld = xyes
  	then
  		tm_file=sparc/sol2-64.h

-- 
Michael Meissner, Red Hat, Inc.  (GCC group)
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
Work:	  meissner@redhat.com		phone: +1 978-486-9304
Non-work: meissner@spectacle-pond.org	fax:   +1 978-692-4482



More information about the Gcc-patches mailing list