Subject: Re: Lesstif 0.81 and 1.3 alpha
To: Andrew McMurry <a.mcmurry1@physics.oxford.ac.uk>
From: Richard Earnshaw <rearnsha@arm.com>
List: port-arm32
Date: 11/21/1997 16:48:21
This is a multipart MIME message.

--==_Exmh_8848522800
Content-Type: text/plain; charset=us-ascii

> 
> > My first problem was to do with configuration:
> > The configure script didn't recognise `arm32-unknown-netbsd1.3' as a valid
> > system, and so refused to allow the building of shared libraries.
> > I fixed that by telling it to change `arm32-unknown' into `arm-unknown'.
> 
> People have been telling me that arm32 is wrong here. In this case
> `uname -m' is broken, and should be replying `arm' rather than `arm32'.
> 
> 	Andrew
> 

Uname -m isn't wrong either.  It's config.guess that is doing the wrong 
thing.  Since it should map arm32 to arm for you.  I've fixed the version 
that the FSF have, but obviously Lesstif is a little out of date.

Enclosed is the patch I added.

Richard.



--==_Exmh_8848522800
Content-Type: application/x-patch ; name="conf.guess.patch"
Content-Description: conf.guess.patch
Content-Disposition: attachment; filename="conf.guess.patch"

Index: config.guess
===================================================================
RCS file: /plg/gnusrc/gnucvs/gcc/config.guess,v
retrieving revision 1.1.1.21
diff -p -r1.1.1.21 config.guess
*** config.guess	1997/06/16 09:19:46	1.1.1.21
--- config.guess	1997/06/16 10:10:52
*************** case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
*** 91,96 ****
--- 91,99 ----
      arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
  	echo arm-acorn-riscix${UNAME_RELEASE}
  	exit 0;;
+     arm32:NetBSD:*:*)
+ 	echo arm-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
+ 	exit 0 ;;
      SR2?01:HI-UX/MPP:*:*)
  	echo hppa1.1-hitachi-hiuxmpp
  	exit 0;;

--==_Exmh_8848522800--