Article View: gnu.emacs.bug
Article #98726patch to build 18.57 on SONY RISC/NEWS-OS 5.0U
From: Ronald Cole
Date: Wed, 20 Mar 1991 09:14
Date: Wed, 20 Mar 1991 09:14
113 lines
3912 bytes
3912 bytes
Problem 1:
need a new m-*.h to describe this particular port...
I arbitrarily called it m-news5-0u.h.
Problem 2:
include file problems in m-mips.h and unexmips.c...
I added an "#ifndef sonyrisc". I don't know if
that is sufficient for other SONY MIPS OS's but it
works for me!
Problem 3:
DATA_SEG_BITS defined in s-usg5-4.h?!? Is this for real?
Just in case it is, I fixed this bit-o-grief in m-news5-0u.h.
diff -rc emacs-18.57~/etc/MACHINES emacs-18.57/etc/MACHINES
*** emacs-18.57~/etc/MACHINES Tue Jan 15 20:08:43 1991
--- emacs-18.57/etc/MACHINES Mon Mar 18 17:28:56 1991
***************
*** 584,589 ****
--- 584,593 ----
Works, as of 18.56. Note that this is a MIPS architecture machine.
+ SONY News 3000 series/NEWS-OS 5.0U (RISC NEWS) (m-news5-0u.h; s-usg5-4.h)
+
+ Works, as of 18.57. Note that this is a MIPS architecture machine.
+
Stride (m-stride.h; s-usg5-2.h)
Works (most recent news for 18.30) on their release 2.0.
diff -rc emacs-18.57~/src/m-mips.h emacs-18.57/src/m-mips.h
*** emacs-18.57~/src/m-mips.h Tue Mar 19 22:55:55 1991
--- emacs-18.57/src/m-mips.h Tue Mar 19 22:55:35 1991
***************
*** 176,182 ****
--- 176,186 ----
#define HAVE_TIMEVAL
#if defined(emacs)
+ #ifndef sonyrisc
#include <bsd/sys/time.h>
+ #else
+ #include <sys/time.h>
+ #endif
#endif
/* #define HAVE_SELECT
diff -rc emacs-18.57~/src/m-news5-0u.h emacs-18.57/src/m-news5-0u.h
*** emacs-18.57~/src/m-news5-0u.h Tue Mar 19 22:39:34 1991
--- emacs-18.57/src/m-news5-0u.h Tue Mar 19 22:16:03 1991
***************
*** 0 ****
--- 1,34 ----
+ /* m-news5-0u.h is for the "RISC NEWS" running NEWS-OS 5.0U */
+
+ #define COFF
+
+ #undef LOAD_AVE_CVT
+ #undef UNEXEC
+ #undef START_FILES
+ #undef LIB_STANDARD
+
+ #include "m-mips.h"
+
+ #undef C_ALLOCA
+ #define HAVE_ALLOCA
+ #if defined(__GNUC__) && !defined(alloca)
+ #define alloca(n) __builtin_alloca(n)
+ #endif
+
+ #undef HAVE_GETWD
+
+ #undef START_FILES
+ #define START_FILES pre-crt0.o /usr/ccs/lib/crt1.o /usr/ccs/lib/values-Xt.o
+
+ #undef LIB_STANDARD
+ #define LIB_STANDARD GNULIB -lsocket -lnsl -lc /usr/ucblib/libucb.a /usr/ccs/lib/crtn.o
+
+ #undef LIBX11_SYSTEM
+ #define LIBX11_MACHINE -lgen
+
+ #undef C_SWITCH_SYSTEM
+
+ #undef DATA_SEG_BITS
+ #define DATA_SEG_BITS 0x00800000
+
+ #define LOAD_AVE_TYPE long
diff -rc emacs-18.57~/src/unexmips.c emacs-18.57/src/unexmips.c
*** emacs-18.57~/src/unexmips.c Tue Jan 8 10:19:01 1991
--- emacs-18.57/src/unexmips.c Mon Mar 18 17:29:07 1991
***************
*** 37,43 ****
#include <scnhdr.h>
#include <sym.h>
! #ifdef IRIS_4D
#include "getpagesize.h"
#include <fcntl.h>
#endif
--- 37,43 ----
#include <scnhdr.h>
#include <sym.h>
! #if defined(IRIS_4D) || defined(sonyrisc)
#include "getpagesize.h"
#include <fcntl.h>
#endif
--
Ronald Cole +----------------------+ internet: rjc@unify.com
Software Engineer II | This space for rent. | uucp: uunet!unify!rjc
Unify Corporation +----------------------+ voice: +1 916 928 6238
"Relax. What is mind? No matter. What is matter? Never mind!" - Homer Simpson
Technical Details
Message-ID:
<9103200914.AA21864@dbrus>Path:
arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!emory!swrinde!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!tut.cis.ohio-state.edu!unreplyable!garbageShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,165476f6eeb3e6df,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1991-03-20 01:14:56 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!emory!swrinde!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!tut.cis.ohio-state.edu!unreplyable!garbage From: rjc@dbrus.unify.com (Ronald Cole) Newsgroups: gnu.emacs.bug Subject: patch to build 18.57 on SONY RISC/NEWS-OS 5.0U Message-ID: <9103200914.AA21864@dbrus> Date: 20 Mar 91 09:14:56 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 113 Approved: bug-gnu-emacs@prep.ai.mit.edu