I just got SGI/Linux installed on my Indy (there's no X server yet).
The changes below were suggested by the FSF Emacs 19.34 patch on the
SGI/Linux ftp server; FSF Emacs runs in console mode. Compiler and
libs are Red Hat 5.1 vintage.
uname -a: Linux mdhill 2.1.100 #7 Wed Nov 4 00:01:10 EST 1998 mips unknown
./configure '--without-x' '--gung-ho' '--use-union-type'
'--package-path=/mnt/debian/xemacs'
XEmacs 21.0 "Poitou" configured for `mips-unknown-linux'.
Where should the build process find the source code? /mnt/debian/xemacs-21.0-b57
What installation prefix should install use? /usr/local
What operating system and machine description files should XEmacs use?
`s/linux.h' and `m/mips.h'
What compiler should XEmacs be built with? gcc -g -O3 -Wall -Wno-switch
Should XEmacs use the GNU version of malloc? yes
(Using Doug Lea's new malloc from the GNU C Library.)
Should XEmacs use the relocating allocator for buffers? yes
What window system should XEmacs use? none
Compiling in native sound support.
Compiling in support for Berkeley DB.
Compiling in support for GNU DBM.
Compiling in support for ncurses.
Compiling in DLL support.
movemail will use "dot-locking" for locking mail spool files.
Using the union type for Lisp_Objects.
Using Lisp_Objects with minimal tagbits.
Using indexed lrecord implementation.
[Build fails at this point:]
Dumping under the name xemacs
Purespace usage: 631320 of 631320 (100%).
XEmacs: Couldn't find segment next to .bss in /usr/src/xemacs-21.0-b57/src/temacs
make[2]: [xemacs] Error 1 (ignored)
Testing for Lisp shadows ...
/bin/sh: ./xemacs: Permission denied
make[2]: Leaving directory `/usr/src/xemacs-21.0-b57/src'
make[1]: Leaving directory `/usr/src/xemacs-21.0-b57/src'
Building finder database ...
/bin/sh: /usr/src/xemacs-21.0-b57/src/xemacs: Permission denied
make: *** [lisp/finder-inf.el] Error 126
Thanks,
Mike
--
Michael Hill
Tottenham, Canada
mdhill(a)interlog.com
--- configure.in~ Tue Sep 29 17:19:26 1998
+++ configure.in Fri Nov 6 22:58:17 1998
@@ -1482,6 +1482,9 @@
dnl Linux/68k
m68k-*-linux* ) machine=m68k opsys=linux ;;
+ dnl Mips Linux-based GNU system
+ mips*-*-linux* ) machine=mips opsys=linux ;;
+
esac
if test -z "$machine" -o -z "$opsys"; then
--- src/m/mips.h~ Tue Mar 31 15:12:25 1998
+++ src/m/mips.h Fri Nov 6 23:07:13 1998
@@ -106,16 +106,25 @@
/* This machine requires completely different unexec code
which lives in a separate file. Specify the file name. */
+#ifndef __linux__
+#undef UNEXEC
#define UNEXEC "unexmips.o"
+#endif /* not __linux__ */
/* Describe layout of the address space in an executing process. */
+#ifdef __linux__
+#define TEXT_START 0x00400000
+#define DATA_START 0x10000000
+#define DATA_SEG_BITS 0x10000000
+#else /* not __linux__ */
#define TEXT_START 0x400000
#define DATA_START 0x800000
+#endif /* __linux__ */
/* Alter some of the options used when linking. */
-#ifndef NEWSOS5
+#if !defined(NEWSOS5) && !defined(__linux__)
#ifdef BSD
/* DECstations don't have this library. */
@@ -138,9 +147,9 @@
#define C_DEBUG_SWITCH "-O -g3"
#endif /* not BSD */
-#endif /* not NEWSOS5 */
+#endif /* not NEWSOS5 && not __linux__ */
-#ifndef NEWSOS5
+#if !defined (NEWSOS5) && !defined (__linux__)
#ifdef USG
/* Don't try to use SIGIO even though it is defined. */
@@ -167,4 +176,4 @@
#define TERMINFO
#undef MAIL_USE_FLOCK /* Someone should check this. */
#endif /* BSD */
-#endif /* not NEWSOS5 */
+#endif /* not NEWSOS5 && not __linux__ */