public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* More old target toplevel cleanup
@ 2011-04-01 12:34 Joseph S. Myers
  2011-04-01 12:41 ` Paolo Bonzini
  0 siblings, 1 reply; 2+ messages in thread
From: Joseph S. Myers @ 2011-04-01 12:34 UTC (permalink / raw)
  To: gcc-patches; +Cc: bonzini, dj, neroden, aoliva, Ralf.Wildenhues

This patch does some more toplevel configure cleanup related to targets no 
longer supported by GCC:

* The code to enable libgomp on hosted POSIX systems handled *-*-sysv4*; 
GCC no longer supports any such targets.

* The md_exec_prefix code covered lots of targets that either are no 
longer supported by GCC, or that no longer define MD_EXEC_PREFIX after my 
cleanups for 4.6; this is reduced to the set of targets that actually 
define this macro in current GCC (DJGPP, HP-UX, QNX, Solaris).  (In the 
VMS case, a different macro, STANDARD_EXEC_PREFIX, is defined - but it's 
"/gnu/libexec/gcc/" in xm-vms.h, not the value in this script.)

OK to commit?

2011-04-01  Joseph Myers  <joseph@codesourcery.com>

	* configure.ac (*-*-sysv4*): Don't enable libgomp.
	(alpha*-*-*vms*, i[[34567]]86-*-sco3.2v5*, mn10300-*-*,
	powerpc-*-chorusos*, powerpc*-*-eabi*, powerpc*-*-sysv*,
	powerpc*-*-kaos*, s390x-ibm-tpf*, sparc64-*-elf*, v850*-*-*,
	xtensa*-*-elf*, *-*-beos*, *-*-elf*, *-*-netware*, *-*-rtems*,
	*-*-sysv[[45]]*, *-*-vxworks*, *-wrs-windiss): Remove
	md_exec_prefix cases.
	* configure: Regenerate.

Index: configure.ac
===================================================================
--- configure.ac	(revision 171827)
+++ configure.ac	(working copy)
@@ -506,7 +506,7 @@
 	;;
     *-*-netbsd* | *-*-freebsd* | *-*-openbsd* | *-*-dragonfly*)
 	;;
-    *-*-solaris2* | *-*-sysv4* | *-*-irix6* | *-*-osf* | *-*-hpux11*)
+    *-*-solaris2* | *-*-irix6* | *-*-osf* | *-*-hpux11*)
 	;;
     *-*-darwin* | *-*-aix*)
 	;;
@@ -2174,46 +2174,12 @@
 # the *-*-osname triplets last.
 md_exec_prefix=
 case "${target}" in
-  alpha*-*-*vms*)
-    md_exec_prefix=/gnu/lib/gcc-lib
-    ;;
   i[[34567]]86-pc-msdosdjgpp*)
     md_exec_prefix=/dev/env/DJDIR/bin
     ;;
-  i[[34567]]86-*-sco3.2v5*)
-    if test $with_gnu_as = yes; then
-      md_exec_prefix=/usr/gnu/bin
-    else
-      md_exec_prefix=/usr/ccs/bin/elf
-    fi
-    ;;
-
-  mn10300-*-* | \
-  powerpc-*-chorusos* | \
-  powerpc*-*-eabi* | \
-  powerpc*-*-sysv* | \
-  powerpc*-*-kaos* | \
-  s390x-ibm-tpf*)
-    md_exec_prefix=/usr/ccs/bin
-    ;;
-  sparc64-*-elf*)
-    ;;
-  v850*-*-*)
-    md_exec_prefix=/usr/ccs/bin
-    ;;
-  xtensa*-*-elf*)
-    ;;
-
-  *-*-beos* | \
-  *-*-elf* | \
   *-*-hpux* | \
-  *-*-netware* | \
   *-*-nto-qnx* | \
-  *-*-rtems* | \
-  *-*-solaris2* | \
-  *-*-sysv[[45]]* | \
-  *-*-vxworks* | \
-  *-wrs-windiss)
+  *-*-solaris2*)
     md_exec_prefix=/usr/ccs/bin
     ;;
 esac

-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: More old target toplevel cleanup
  2011-04-01 12:34 More old target toplevel cleanup Joseph S. Myers
@ 2011-04-01 12:41 ` Paolo Bonzini
  0 siblings, 0 replies; 2+ messages in thread
From: Paolo Bonzini @ 2011-04-01 12:41 UTC (permalink / raw)
  To: Joseph S. Myers; +Cc: gcc-patches, dj, neroden, aoliva, Ralf.Wildenhues

On 04/01/2011 02:34 PM, Joseph S. Myers wrote:
> This patch does some more toplevel configure cleanup related to targets no
> longer supported by GCC:
>
> * The code to enable libgomp on hosted POSIX systems handled *-*-sysv4*;
> GCC no longer supports any such targets.
>
> * The md_exec_prefix code covered lots of targets that either are no
> longer supported by GCC, or that no longer define MD_EXEC_PREFIX after my
> cleanups for 4.6; this is reduced to the set of targets that actually
> define this macro in current GCC (DJGPP, HP-UX, QNX, Solaris).  (In the
> VMS case, a different macro, STANDARD_EXEC_PREFIX, is defined - but it's
> "/gnu/libexec/gcc/" in xm-vms.h, not the value in this script.)
>
> OK to commit?

Nice, thanks.

Paolo

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-04-01 12:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-01 12:34 More old target toplevel cleanup Joseph S. Myers
2011-04-01 12:41 ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).