This is the mail archive of the gcc@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]

19981220 patch to support HPPA machines identifying as 9000/


egcs-19981220/config.guess fails to identify our K380 HP-UX box,
stopping the configure process at that point. The patch below widens the
pattern matching $(uname -m) to identify HP-UX machines.

Script started on Tue Dec 22 10:57:34 1998
bash-2.02$ uname -a
HP-UX banksia B.10.20 U 9000/800 1818781471 unlimited-user license
bash-2.02$ uname -m
9000/800
bash-2.02$ /usr/bin/model
9000/800/K380
bash-2.02$ egcs-19981220/config.guess
-hp-hpux10.20

--- egcs-19981220/config.guess.orig Fri Dec  4 11:36:49 1998
+++ egcs-19981220/config.guess  Wed Dec 16 13:40:24 1998
@@ -367,7 +367,7 @@
    case "${UNAME_MACHINE}" in
        9000/31? )            HP_ARCH=m68000 ;;
        9000/[34]?? )         HP_ARCH=m68k ;;
-       9000/6?? | 9000/7?? | 9000/80[24] | 9000/8?[13679] | 9000/892 )
+       9000/[678][0-9][0-9] )
               sed 's/^              //' << EOF >dummy.c
               #include <stdlib.h>
               #include <unistd.h>


As mime attachment in case CC-Mail fiddles
 


--- egcs-19981220/config.guess.orig	Fri Dec  4 11:36:49 1998
+++ egcs-19981220/config.guess	Wed Dec 16 13:40:24 1998
@@ -367,7 +367,7 @@
 	case "${UNAME_MACHINE}" in
 	    9000/31? )            HP_ARCH=m68000 ;;
 	    9000/[34]?? )         HP_ARCH=m68k ;;
-	    9000/6?? | 9000/7?? | 9000/80[24] | 9000/8?[13679] | 9000/892 )
+	    9000/[678][0-9][0-9] )
               sed 's/^              //' << EOF >dummy.c
               #include <stdlib.h>
               #include <unistd.h>


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