all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sascha Wilde <wilde@sha-bang.de>
To: emacs-devel@gnu.org
Subject: Building Emacs on SGI mips/netbsd
Date: Wed, 17 Jun 2009 14:33:55 +0200	[thread overview]
Message-ID: <m2tz2ff39o.fsf@sha-bang.de> (raw)

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	other threads:[~2009-06-17 12:33 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-17 12:33 Sascha Wilde [this message]
2009-06-17 16:18 ` Building Emacs on SGI mips/netbsd 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2tz2ff39o.fsf@sha-bang.de \
    --to=wilde@sha-bang.de \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.