🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #4442

Re: How to do it ?

#4442
From: Ron Natalie <ron>
Date: Wed, 12 Nov 1986 03:47
31 lines
1968 bytes
In article <6282@decwrl.DEC.COM>, denis@lerouf.dec.com (Michel DENIS, European Engineering, Valbonne) writes:
> 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 which generates PDP-11 code

There are cross compilers for C on UNIX but make use of COMPATIBILITY MODE
on the VAX, which is sort of cheating.

> - a pre-processor (like Whitesmith C) which generates MACRO-11 sources to be
>   assembled using the MACRO-11 assembler.

Many C compilers actually generate assembler and assemble it.  The main
advantage of Whitesmiths is that it would actually run under RSX or UNIX
and compile with a RSX compatible library.
> 
> I am very interested to know about such possible Compiler/Tool that you
> could have (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).

Right now I write internet gateway software for dedicated PDP-11 processors.
The entire application and it's little operating system is compiled on
a PDP-11/44 UNIX system and then written out to floopy disk and booted
standalone on the communications processors.  Other people who work on
my software use the compatibility mode C-compiler environment on the
VAX to do the same thing.

-Ron
Technical Details
Message-ID: <466@brl-sem.ARPA>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!brl-adm!brl-sem!ron
References: <6282@decwrl.DEC.COM>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!brl-adm!brl-sem!ron
From: ron@brl-sem.ARPA (Ron Natalie <ron>)
Newsgroups: comp.lang.misc
Subject: Re: How to do it ?
Message-ID: <466@brl-sem.ARPA>
Date: Tue, 11-Nov-86 22:47:32 EST
Article-I.D.: brl-sem.466
Posted: Tue Nov 11 22:47:32 1986
Date-Received: Wed, 12-Nov-86 21:53:29 EST
References: <6282@decwrl.DEC.COM>
Organization: Electronic Brain Research Lab
Lines: 31