Ok, I have looked at the link11 code, and after a lot of fuzzing around, got it to compile under Linux. Attached is that code. It compiles without errors using 'make', and I haven't tried -Wall yet.
I left it as mostly K&R, but I needed to stuff in a lot of prototypes to quieten warnings, nor did I remove 'register' or 'auto' from definitions. There was a lot of 'auto x' instead of 'auto int x' also. However, it does not like the object files I threw at it, from the macro11 package on simtools, nor from object files from a RSTS/E system. It just says 'not an object file'. Haven't had a lot of time to play with it lately, so here it is if anyone else wants to tplay with it. I don't think I broke anything, so it may be something like '16 bit int' expectations in the code, or maybe it is looking for a different object format. On Fri, Jan 31, 2020 at 12:04 AM Lars Brinkhoff <l...@nocrew.org> wrote: > Paul Koning wrote: > > For running parts of the GCC test suite for the PDP11 target, I wanted > > to be able to run its output on SIMH. > > A very convenient but probably less accurate way to run PDP-11 a.out > programs is to use Warren Toomey's apout emulator. > > _______________________________________________ > Simh mailing list > Simh@trailing-edge.com > http://mailman.trailing-edge.com/mailman/listinfo/simh
l11.tgz
Description: application/compressed-tar
_______________________________________________ Simh mailing list Simh@trailing-edge.com http://mailman.trailing-edge.com/mailman/listinfo/simh