Article View: gnu.epoch.misc
Article #158epoch under MIPS RISCos 4.52/5.0
From: Guntram Wolski
Date: Tue, 08 Sep 1992 18:14
Date: Tue, 08 Sep 1992 18:14
71 lines
2429 bytes
2429 bytes
I have tried compiling epoch-4.2 that I obtained Monday evening from
cs.uiuc.edu on a MIPS R3330 running RISCos 4.52 and another one
running the "new" RISCos 5.0. I am using the system default compilers
in the bsd43 world (i.e. /bsd43/bin/cc). I am running with
config/s-bsd4-3.h and m-mips4.h.
The following two comments apply to both OSs and the last at the
bottom only to RISCos 5.0. Once I implemented item 2, I was able to
get a version of epoch for RISCos 4.52. The third item is preventing
me from doing it under 5.0.
1) The KERNEL_FILE is defined as "/vmunix" in the s-bsd4-3.h
which shouldn't work for mips. I added a define in m-mips4.h to
change it to /unix. Maybe I missing something.
2) I had to modify src/fileio.c for BOTH systems so that the NULL
definition in lisp.h was defined AFTER the inclusion of <sys/dir.h>
where it is defined again!
*** src/fileio.c.fcs Tue Sep 8 09:33:09 1992
--- src/fileio.c Tue Sep 8 09:40:50 1992
***************
*** 71,79 ****
#undef NULL
#endif
#include "config.h"
- #include "lisp.h"
- #include "buffer.h"
- #include "window.h"
#ifdef SYSV_SYSTEM_DIR
#include <dirent.h>
--- 71,76 ----
***************
*** 80,85 ****
--- 77,89 ----
#else
#include <sys/dir.h>
#endif
+
+ #ifdef NULL
+ #undef NULL
+ #endif
+ #include "lisp.h"
+ #include "buffer.h"
+ #include "window.h"
#ifdef VMS
#include <file.h>
3) I am having difficulty having it "kill" itself under RISCos
5.0 (it dumped fine under 4.52). It doesn't seem to want to generate
an 'epoch' when it says it is dumping:
Dumping under names epoch and epoch-4.2.7
make[1]: *** [epoch] Killed
make: *** [doall] Error 1
I don't understand enough to figure this out yet. RISCos 5.0 has
dynamic libs and is more SVR4 like. Any tips on why it won't dump
itself you give me are appreciated.
Thanks,
--G
--
Guntram Wolski gwolsk@sei.com
Silicon Engineering, Inc. 408-438-5331 x112
...!{sgiblab,ames}!seidc!gwolsk
Technical Details
Message-ID:
<9209081814.AA02768@seidc.sei.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!seidc.UUCP!gwolskShow Full Headers
Complete Article Headers
Newsgroups: gnu.epoch.misc Path: arc1-ca.pugleaf.net!sparky!uunet!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!seidc.UUCP!gwolsk From: gwolsk@seidc.UUCP (Guntram Wolski) Subject: epoch under MIPS RISCos 4.52/5.0 Message-ID: <9209081814.AA02768@seidc.sei.com> Sender: daemon@cis.ohio-state.edu Organization: GNUs Not Usenet Distribution: gnu Date: Tue, 8 Sep 1992 18:14:14 GMT Lines: 72