At 07:07 PM 4/3/99 +0000, Eric responds:
Sounds like a fun project. Yes, there is a PDP-11 back
end for GCC, although
it is not part of the standard distribution. I don't have it handy, but
if you can't find it, I can probably dig it out of my archives.
So I downloaded 2.8.1 (current? I don't know) and did a configure
--target=pdp11 and it generates an xgcc that can cross compile into what
looks like PDP-11 source code. Of course the compilation of dummy.c failed
since gas doesn't know about the 11. I looked at the BFD and it seems to
not know about 11's. Sigh. So I can compile, I just can't assemble.
For the other question (asked by someone else) uC/OS (mu-cos, aka snot) is
a simple multitasking O/S written by Jean Labrosse and described in his
book of the same name. uC/OS ver 1 was not useful but version 2 actually
could be useful for what I'd like to do. (Which is to run simple stuff on a
PDP-11 and -8) (and no, there isn't a back end for the pdp-8 in any of the
GNU tools :-)
--Chuck