This is the mail archive of the libc-hacker@cygnus.com mailing list for the glibc project.


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

config.sub problem on armv4l



I've noticed a problem with config.sub on armv4l.  This comes from the
fact (I think) that the new release of automake, does not have
armv[34][lb] support in it.

First error was:

+ ../configure --prefix=/usr --enable-add-ons=yes --without-cvs
--with-headers=/usr/src/redhat/BUILD/glibc/linux/include armv4l-redhat-linux
creating cache ./config.cache
checking host system type... Invalid configuration `armv4l-redhat-linux':
machine `armv4l-redhat' not recognized


Then I applied the attaced patch.  The NetWinder stuff is something Scott
Bambrough from Corel Computer, wanted in.  Less one part which would not
go in properly.

After this patch I get the following error:

+ ../configure --prefix=/usr --enable-add-ons=yes --without-cvs
--with-headers=/usr/src/redhat/BUILD/glibc/linux/include armv4l-redhat-linux
creating cache ./config.cache
checking host system type... armv4l-redhat-unknown-linux-gnu
checking sysdep dirs... configure: error: Operating system
unknown-linux-gnu is not supported.


Which it should not come up with for host system type...

-Rms
--- glibc/scripts/config.sub.orig	Mon Jan 25 10:38:43 1999
+++ glibc/scripts/config.sub	Mon Jan 25 10:48:30 1999
@@ -155,7 +155,7 @@
 		| alpha | alphaev5 | alphaev56 | we32k | ns16k | clipper \
 		| i370 | sh | powerpc | powerpcle | 1750a | dsp16xx | pdp11 \
 		| mips64 | mipsel | mips64el | mips64orion | mips64orionel \
-		| mipstx39 | mipstx39el \
+		| mipstx39 | mipstx39el | armv[34][lb]-* \
 		| sparc | sparclet | sparclite | sparc64 | v850)
 		basic_machine=$basic_machine-unknown
 		;;
@@ -179,7 +179,7 @@
 	      | alpha-* | alphaev5-* | alphaev56-* | we32k-* | cydra-* \
 	      | ns16k-* | pn-* | np1-* | xps100-* | clipper-* | orion-* \
 	      | sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \
-	      | sparc64-* | mips64-* | mipsel-* \
+	      | sparc64-* | mips64-* | mipsel-* | armv[34][lb]-* \
 	      | mips64el-* | mips64orion-* | mips64orionel-*  \
 	      | mipstx39-* | mipstx39el-* \
 	      | f301-*)
@@ -412,6 +412,10 @@
 		basic_machine=i486-ncr
 		os=-sysv4
 		;;
+	netwinder)
+		basic_machine=armv4l-ccc
+		os=-linux
+		;;
 	news | news700 | news800 | news900)
 		basic_machine=m68k-sony
 		os=-newsos

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