Sony NEWS-OS 3.3: Unterschied zwischen den Versionen
Luna (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Luna (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
Zeile 5: | Zeile 5: | ||
NEWS-OS 3.3 is a pretty straight 4.3BSD (Tahoe?). | 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. | The NEWS-1850 is a dual M68030 machine (25MHz; one of the 030 is an "I/O processor") with 16MB of RAM soldered. | ||
[[Datei:Sony_newsos3_vt320.jpeg |thumb|right|NEWS-OS 3.3]] | |||
-------------- | -------------- |
Version vom 20. März 2019, 22:33 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.
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 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