emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Building Emacs on SGI mips/netbsd


From: Sascha Wilde
Subject: Building Emacs on SGI mips/netbsd
Date: Wed, 17 Jun 2009 14:33:55 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux)

Hi *,

I just build the current 23 head on an old SGI Indy (mips r4400) running
NetBSD 5.0:

To make it configure and build I had to fiddle with configure as it
currently does not handle NetBSD on mips and so the machine does not get
configured.

I suggest a patch along the lines of:

--8<---------------cut here---------------start------------->8---
--- a/configure.in      Mon Jun 15 14:21:29 2009 +0200
+++ b/configure.in      Wed Jun 17 14:24:12 2009 +0200
@@ -336,6 +336,10 @@
       x86_64-*-netbsd*)        machine=amdx86-64 ;;
       hppa-*-netbsd*)          machine=hp800 ;;
       m68k-*-netbsd*)          machine=m68k ;;
+      mips-*-netbsd* | mipseb-*-netbsd* \
+          | mips64-*-netbsd* | mips64eb-*-netbsd* )
+            machine=mips ;;
+
     esac
   ;;
 --8<---------------cut here---------------end--------------->8---

This is untested, as I actually manipulates the generated configure
script, and I'm not sure which exact targets are possible with netbsd
(IIRC it issued mipseb in my case, can't verify it at the moment).

Anyway, after hot-fixing configure it build and ran like a charm, so I
think once this is fixed we could add it to etc/MACHINES.

cheers
sascha
-- 
Sascha Wilde

"There is no reason why anyone would want a computer in their home"
Ken Olson, DEC, 1977




reply via email to

[Prev in Thread] Current Thread [Next in Thread]