unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Building Emacs on SGI mips/netbsd
@ 2009-06-17 12:33 Sascha Wilde
  2009-06-17 16:18 ` Glenn Morris
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Sascha Wilde @ 2009-06-17 12:33 UTC (permalink / raw)
  To: emacs-devel

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




^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2009-07-03 13:19 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-17 12:33 Building Emacs on SGI mips/netbsd Sascha Wilde
2009-06-17 16:18 ` Glenn Morris
2009-06-24  8:38 ` Stefan Monnier
2009-06-24  8:58   ` Miles Bader
2009-06-26  7:46   ` Sascha Wilde
2009-06-24 18:03 ` Glenn Morris
2009-06-26  8:01   ` Sascha Wilde
2009-06-27  2:44     ` Glenn Morris
2009-06-27  6:17       ` Dan Nicolaescu
2009-06-28  0:55         ` Glenn Morris
2009-07-03 13:19           ` Dan Nicolaescu

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).