Sony NEWS-OS 3.3: Unterschied zwischen den Versionen
Luna (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Luna (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
(4 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 7: | Zeile 7: | ||
[[Datei:Sony_newsos3_vt320.jpeg |thumb|right|NEWS-OS 3.3]] | [[Datei:Sony_newsos3_vt320.jpeg |thumb|right|NEWS-OS 3.3]] | ||
[[Datei:Sony_news_1850.jpg |thumb|right|Sony NEWS 1850 workstation]] | |||
-------------- | |||
NEWS-OS installation media has turned up on bitsavers: | |||
http://bitsavers.trailing-edge.com/bits/Sony/NEWS-OS/ | |||
-------------- | -------------- | ||
Zeile 13: | Zeile 21: | ||
-------------- | -------------- | ||
.cshrc: | .cshrc: | ||
if ($term == xterm-256color) then | if ($term == xterm-256color) then | ||
setenv TERM vt100 | setenv TERM vt100 | ||
endif | endif | ||
-------------- | -------------- | ||
.profile: | .profile: | ||
if [ $TERM = "xterm-256color" ] | |||
then TERM=vt100; export TERM | |||
fi | |||
# set a fancy prompt | |||
PS1='\u@\h:\w\$ ' | |||
export PS1 | |||
-------------- | -------------- | ||
make-3.75 | '''make-3.75''' | ||
'''gcc-2.7.2.3:''' | |||
./configure --enable-languages=c | |||
#ifndef errno | '''cpplib.c:''' | ||
extern int errno; | #ifndef errno | ||
#endif | extern int errno; | ||
#endif | |||
gcc-2.95.3: FAILS | '''gcc-2.95.3: FAILS''' | ||
needs | needs | ||
CONFIG_SHELL=/bin/bash | CONFIG_SHELL=/bin/bash | ||
SHELL=/bin/bash | SHELL=/bin/bash | ||
--enable-languages=c --disable-nls --disable-multilib | --enable-languages=c --disable-nls --disable-multilib | ||
fix Makefile. remove c++ from LANGUAGES | fix Makefile. remove c++ from LANGUAGES | ||
libiberty: | libiberty: | ||
size_t is declared in <stddef.h> | size_t is declared in <stddef.h> | ||
mkstemp.c | size_t | mkstemp.c | size_t | ||
setenv.c | size_t, NULL undefined | setenv.c | size_t, NULL undefined | ||
failes with internal compiler error 4 | failes with internal compiler error 4 | ||
--------- | --------- | ||
gawk 3.0.6 | '''gawk 3.0.6:''' | ||
protos.h | protos.h | ||
typedef int mode_t; | typedef int mode_t; | ||
config.h: | config.h: | ||
#undef STRTOD | #undef STRTOD | ||
---------------- | ---------------- | ||
Zeile 78: | Zeile 86: | ||
---------------- | ---------------- | ||
tin-2.4.4-snapshot: | '''tin-2.4.4-snapshot:''' | ||
./configure --enable-nntp-only --with-domain=pcde.inka.de --with-nntp-default-server=news.akk.org --disable-nls --enable-broken-system-fix m68k-sony-newsos3.3 --with-shell=/usr/local/bin/bash --with-editor=/usr/local/bin/vim --with-domain=pcde.inka.de | ./configure --enable-nntp-only --with-domain=pcde.inka.de --with-nntp-default-server=news.akk.org --disable-nls --enable-broken-system-fix m68k-sony-newsos3.3 --with-shell=/usr/local/bin/bash --with-editor=/usr/local/bin/vim --with-domain=pcde.inka.de | ||
include/autoconf.h | include/autoconf.h | ||
# define DECL_FREE 1 | # define DECL_FREE 1 | ||
# define DECL_MALLOC 1 | # define DECL_MALLOC 1 | ||
# define DECL_REALLOC 1 | # define DECL_REALLOC 1 | ||
add to pcre/pcre_globals.c: | add to pcre/pcre_globals.c: | ||
extern void *malloc(size_t); | extern void *malloc(size_t); | ||
extern void *realloc(void *, size_t); | extern void *realloc(void *, size_t); | ||
extern void free(void *); | extern void free(void *); | ||
pcre/dftables.c: | pcre/dftables.c: | ||
NEWS-OS3.3 fopen() doesn't understand argument "wb", but fails | NEWS-OS3.3 fopen() doesn't understand argument "wb", but fails | ||
silently, rather then giving an error message. | silently, rather then giving an error message. | ||
Change to "w+" | Change to "w+" | ||
also needs tolower and toupper fixes. | also needs tolower and toupper fixes. | ||
--------------------------------- | --------------------------------- | ||
make-3.77: | '''make-3.77:''' | ||
#define NULL 0 | #define NULL 0 | ||
typedef int size_t; | typedef int size_t; | ||
doesn't work | doesn't work | ||
'''make-3.76.1:''' | |||
works | |||
'''grep-2.4.2: FAILs''' | |||
edit src/system.h to undef HAVE unistd.h | |||
SEEK_CUR needs to be defined. | |||
lseek lives in <sys/file.h> | |||
NEWS-OS doesn't have strcoll() | |||
doesn't work | |||
'''grep-2.2:''' | |||
works | |||
'''m4-1.4.5: FAIL''' | |||
NEWS-OS doesn't know about MB_CUR_MAX | |||
doesn't work. | |||
'''m4-1.4.3:''' | |||
works | |||
'''top-3.3:''' | |||
NEWS-OS doesn't have pid_t | |||
typedef int pid_t; | |||
#ifndef SEEK_END | '''vim-4.6:''' | ||
#define SEEK_END 2 | add | ||
#endif | #include <sys/file.h> | ||
#ifndef SEEK_SET | |||
#define SEEK_SET 0 | |||
#endif | |||
#ifndef SEEK_END | |||
#define SEEK_END 2 | |||
#endif | |||
to: | to: | ||
fileio.c | fileio.c | ||
memfile.c | memfile.c | ||
memline.c | memline.c | ||
also needs strstr() | also needs strstr() | ||
use libmissing | use libmissing | ||
NEWS-OS doesn't have dirent.h. | |||
Replace #include dirent.h with sys/dir.h in ctags/ctags.c | |||
won't compile ctags. don't use ctags. vim alone works. | |||
won't compile ctags. don't use ctags. vim alone works. | |||
Zeile 173: | Zeile 179: | ||
------------- | ------------- | ||
#ifndef SEEK_SET | #ifndef SEEK_SET | ||
#define SEEK_SET 0 | #define SEEK_SET 0 | ||
#endif | #endif | ||
#ifndef SEEK_END | #ifndef SEEK_END | ||
#define SEEK_END 2 | #define SEEK_END 2 | ||
#endif | #endif | ||
------------- | ------------- | ||
#ifndef L_tmpnam | #ifndef L_tmpnam | ||
#define L_tmpnam 25 | #define L_tmpnam 25 | ||
#endif | #endif | ||
------------- | ------------- | ||
binutils-2.9.1: FAIL | '''binutils-2.9.1: FAIL''' | ||
gas needs to be like a Sun3. doesn't work. | |||
gas needs to be like a Sun3. doesn't work. | |||
------------- | ------------- |
Aktuelle Version vom 13. Mai 2021, 22:29 Uhr
Sony NEWS-OS 3.3 on NEWS-1850
NEWS-OS 3.3 is a pretty straight 4.3BSD (Tahoe?). The NEWS-1850 is a dual M68030 machine (25MHz; one of the 030 is an "I/O processor") with 16MB of RAM soldered.
NEWS-OS installation media has turned up on bitsavers:
http://bitsavers.trailing-edge.com/bits/Sony/NEWS-OS/
It is not possible to change root's HOME directory to /root...
.cshrc:
if ($term == xterm-256color) then setenv TERM vt100 endif
.profile:
if [ $TERM = "xterm-256color" ] then TERM=vt100; export TERM fi
# set a fancy prompt PS1='\u@\h:\w\$ ' export PS1
make-3.75
gcc-2.7.2.3:
./configure --enable-languages=c
cpplib.c:
#ifndef errno extern int errno; #endif
gcc-2.95.3: FAILS
needs CONFIG_SHELL=/bin/bash SHELL=/bin/bash --enable-languages=c --disable-nls --disable-multilib
fix Makefile. remove c++ from LANGUAGES libiberty: size_t is declared in <stddef.h> mkstemp.c | size_t setenv.c | size_t, NULL undefined
failes with internal compiler error 4
gawk 3.0.6:
protos.h typedef int mode_t; config.h: #undef STRTOD
NEWS-OS doesn't know about struct dirent
NEWS-OS has buggy tolower() and topper().
tin-2.4.4-snapshot:
./configure --enable-nntp-only --with-domain=pcde.inka.de --with-nntp-default-server=news.akk.org --disable-nls --enable-broken-system-fix m68k-sony-newsos3.3 --with-shell=/usr/local/bin/bash --with-editor=/usr/local/bin/vim --with-domain=pcde.inka.de
include/autoconf.h # define DECL_FREE 1 # define DECL_MALLOC 1 # define DECL_REALLOC 1
add to pcre/pcre_globals.c:
extern void *malloc(size_t); extern void *realloc(void *, size_t); extern void free(void *);
pcre/dftables.c: NEWS-OS3.3 fopen() doesn't understand argument "wb", but fails silently, rather then giving an error message. Change to "w+"
also needs tolower and toupper fixes.
make-3.77:
#define NULL 0 typedef int size_t; doesn't work
make-3.76.1:
works
grep-2.4.2: FAILs
edit src/system.h to undef HAVE unistd.h SEEK_CUR needs to be defined. lseek lives in <sys/file.h> NEWS-OS doesn't have strcoll() doesn't work
grep-2.2:
works
m4-1.4.5: FAIL
NEWS-OS doesn't know about MB_CUR_MAX doesn't work.
m4-1.4.3:
works
top-3.3:
NEWS-OS doesn't have pid_t typedef int pid_t;
vim-4.6:
add #include <sys/file.h> #ifndef SEEK_SET #define SEEK_SET 0 #endif #ifndef SEEK_END #define SEEK_END 2 #endif
to: fileio.c memfile.c memline.c
also needs strstr() use libmissing
NEWS-OS doesn't have dirent.h. Replace #include dirent.h with sys/dir.h in ctags/ctags.c
won't compile ctags. don't use ctags. vim alone works.
/usr/local/lib/gcc-lib/m68k-sony-newsos/2.7.2.3/include/machine/machparam.h:88: /warning: /*' within comment
apparent bug in news-os include files. fix in /usr/local/lib/gcc-lib/m68k-sony-newsos/2.7.2.3/include/machine/machparam.h and in /usr/include/include/machine/machparam.h
#ifndef SEEK_SET #define SEEK_SET 0 #endif
#ifndef SEEK_END #define SEEK_END 2 #endif
#ifndef L_tmpnam #define L_tmpnam 25 #endif
binutils-2.9.1: FAIL
gas needs to be like a Sun3. doesn't work.
libmissing: remove strftime.o and uname.o, because it won't compile