>>>> "Dres" == James LewisMoss
<dres(a)ioa.com> writes:
Dres> This comes from one of the Debian ARM porters. It adds a check in
Dres> config.guess, an option in configure.in, and a m/arm.h file to allow
Dres> compiling for Linux ARM. I didn't see anything that looks like a
Dres> Debian dependency, but I may have missed it. I also don't know if
Dres> this actually works (I don't have an ARM machine myself), but I'm
Dres> assuming that if this person is telling me about it then he's gotten
Dres> it to work on ARM.
Dres> Debian ARM Maintainer: Tor Slettnes <tor(a)slett.net>
Dres> ------------------------------------------------------------------------
Dres> diff -ruN xemacs20-20.4/config.guess xemacs20-20.4-7.2/config.guess
Dres> --- xemacs20-20.4/config.guess Sat May 17 20:39:24 1997
Dres> +++ xemacs20-20.4-7.2/config.guess Wed Nov 25 02:39:14 1998
Dres> @@ -422,6 +422,8 @@
Dres> echo alpha-unknown-linux-gnu ; exit 0
Dres> elif test "${UNAME_MACHINE}" = "sparc" ; then
Dres> echo sparc-unknown-linux-gnu ; exit 0
Dres> + elif test "${UNAME_MACHINE}" = "armv4l" ; then
Dres> + echo arm-unknown-linux-gnu ; exit 0
Dres> else
Dres> # Either a pre-BFD a.out linker (linux-gnuoldld) or one that does not give
us
Dres> # useful --help. Gcc wants to distinguish between linux-gnuoldld and
linux-gnuaout.
Thanks for your contributions.
One of the next few betas for xemacs-21.2 will feature an upgrade to
the latest config.guess and config.sub from FSF (/gd/gnu/lib/). That
file already has support for arm machines. If there is a bug in those
files, you should communicate directly with rms. Most of the XEmacs
sources have forked from the FSF sources, but not config.guess and
config.sub. Let's keep it that way.
The rest of the arm support looks OK, although I am unhappy on the
quantity of legacy cruft in the s&m headers.
Martin