Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!henry From: henry@utzoo.UUCP (Henry Spencer) Newsgroups: net.lang.c Subject: Re: How to do it ? Message-ID: <7306@utzoo.UUCP> Date: Sun, 9-Nov-86 05:08:21 EST Article-I.D.: utzoo.7306 Posted: Sun Nov 9 05:08:21 1986 Date-Received: Sun, 9-Nov-86 05:08:21 EST Organization: U of Toronto Zoology Lines: 28 > I would like to know if someone has used (or heard about the use of) high > level languages (C, Pascal, Ada, ..) or tools to generate PDP-11 code. > I think there could be various ways to do it, including : > - a cross-compiler running on VAX/VMS or PDP/RSX ... Have you considered a native compiler running on PDP11 Unix? Since that's what my system is, and how all C on it is compiled, I can guarantee it works. It's a much more pleasant working environment than VMS or RSX, too... If you don't want to buy a Unix-capable PDP11 just for this job (an attitude I can understand, since in other respects it's not a good choice for a Unix machine any more), I believe the compiler and such should run without much trouble in compatibility mode under 4BSD. The compiler might run in native mode, in fact, although I would wonder about 16-bit assumptions it might make. The assembler was written in assembler, so unless you can find a more modern version (I know of one, but it's not widely available), you will need compatibility mode for that. > ...of course a compiler with a run-time library would not work in > this case because the "system" is some specialized processor based on a > PDP-11 chip... We used to routinely compile code to be downloaded to a smaller, non-Unix, PDP11. This required a different C library (or great care in using the standard one) plus a different runtime-startup routine, but it worked fine. -- Henry Spencer @ U of Toronto Zoology {allegra,ihnp4,decvax,pyramid}!utzoo!henry