<div dir="ltr">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.<div><br></div><div>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.</div><div><br></div><div>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'.</div><div><br></div><div>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.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 31, 2020 at 12:04 AM Lars Brinkhoff <<a href="mailto:lars@nocrew.org">lars@nocrew.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Paul Koning wrote:<br>
> For running parts of the GCC test suite for the PDP11 target, I wanted<br>
> to be able to run its output on SIMH.<br>
<br>
A very convenient but probably less accurate way to run PDP-11 a.out<br>
programs is to use Warren Toomey's apout emulator.<br>
<br>
_______________________________________________<br>
Simh mailing list<br>
<a href="mailto:Simh@trailing-edge.com" target="_blank">Simh@trailing-edge.com</a><br>
<a href="http://mailman.trailing-edge.com/mailman/listinfo/simh" rel="noreferrer" target="_blank">http://mailman.trailing-edge.com/mailman/listinfo/simh</a></blockquote></div>