[TUHS] 4.4BSD sparc, pmax binary recently compiled

Michael Huff mphuff at gmail.com
Sat Mar 6 18:00:44 AEST 2021


Truly wonderful stuff -thank you for putting it together!

It took me a bit to puzzle out what to type, mostly because I'm 
unfamiliar with gxemul. What finally did the trick for me (on NetBSD 
9.1) was:

  gxemul -X -e 3max -db:./bsd44f-pmax-self-20210224.dkimg -j vmunix

Now I just need to figure out how to get things in and out of there!

Thank you so, so much!

On 3/5/2021 5:42 PM, MOCHIDA Shuji wrote:
>   I compiled 4.4BSD to get pmax and sparc binary, from CSRG Archive CD-ROM #4
> source code.
>
>      http://www.netside.co.jp/~mochid/comp/bsd44-build/
>
>    pmax:
>      - Works on GXemul DECstaion(PMAX) emulation.
>      - I used binutils 2.6 and gcc 2.7.2.3 taken from Gnu ftp site,
>        as 4.4BSD src does not contain pmax support part in as, ld,
>        gcc and gdb.
>      - Lack of GDB. I got rid of compile errors of gdb 4.16, but that
>        does not work yet.
>      - gcc included can not deal c++ static constructor. So, contrib/groff
>        can not be compiled. Instead, it uses old/{nroff,troff,eqn,tbl..}.
>
>    sparc:
>      - Works on sun4c. I use on SPARCstation 2, real hardware.
>        TME sun4c emulation can boot to single user, but it locks up in
>        middle of /etc/rc.
>   
>   CSRG Archive CD-ROM #4's source code (just after Lite2 release) seems
> have differences from CSRG's binary distributions before (2 times),
> e.g. mount systemcall is not compatible.
>
>   I used NetBSD 1.0/sparc, NetBSD 1.1/pmax for 1st (slightly) cross
> compiling. NetBSD 1.0/sparc boots and works well on TME emulator.
> SunOS 4.1.4, Solaris7 works too, but this 4.4BSD binary doesn't..
>
> -mochid


More information about the TUHS mailing list