[kaffe] ARM detection fix

Peter Naulls peter at chocky.org
Mon Mar 29 20:17:36 PST 2004


Believe it or not, there are other ARM processors in the world besides
StrongARMs, so we shouldn't be looking at fixed architecture revisions
(in most cases in any Unix code)

The following fix allows Kaffe to configure on my XScale machine[1]

Index: config/config.alias
===================================================================
RCS file: /cvs/kaffe/kaffe/config/config.alias,v
retrieving revision 1.16
diff -u -r1.16 config.alias
--- config/config.alias 13 Nov 2003 13:54:54 -0000      1.16
+++ config/config.alias 29 Mar 2004 20:51:57 -0000
@@ -8,7 +8,7 @@
 i[3456]86)     Khost_cpu=i386 ;;
 sa110)         Khost_cpu=arm ;;
 arm32)         Khost_cpu=arm ;;
-armv4l)                Khost_cpu=arm ;;
+armv*l)                Khost_cpu=arm ;;
 mipsel)                Khost_cpu=mips ;;
 alpha*)                Khost_cpu=alpha ;;
 sparc*)                Khost_cpu=sparc ;;



I'm not subscribed to this list.

1. http://www.chocky.org/linux/systems.html

-- 
Peter Naulls - peter at chocky.org        | http://www.chocky.org/
----------------------------------------------------------------------------
AcornSearch - http://www.drobe.co.uk/  | Relevant RISC OS searches




More information about the kaffe mailing list