Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!philabs!cmcl2!harvard!husc6!panda!genrad!decvax!ittatc!dcdwest!sdcsvax!sdcrdcf!hplabs!hpda!hpisoa2!hpitg!ur-cayuga!tom@ur-cayuga From: tom@ur-cayuga Newsgroups: net.lang.mod2 Subject: Modula-2 and other languages (under Message-ID: <14347163@ur-cayuga> Date: Tue, 29-Apr-86 02:50:00 EDT Article-I.D.: ur-cayug.14347163 Posted: Tue Apr 29 02:50:00 1986 Date-Received: Wed, 14-May-86 01:41:38 EDT Lines: 23 Subject: Modula-2 and other languages (under UNIX on VAX) Does anyone know of any Modula-2 compilers that let you call modules or functions written in other languages? What I need is a way to do things in a Modula-2 program that I can't do in Modula-2, i.e. generate certain priviledged VAX instructions (this is for the innermost layers of an operating system we are writing). We currently do this (in a Modula [NOT Modula-2] PDP-11 compiler) with "code escapes" which allow one to embed assembly language directly in the source. Also, I was wondering if there is a general-purpose mechanism for linking j. random object modules with Modula-2 objects, so I could use "C" for some functions, or better yet, write a Modula-2 library module which could be linked with a "C" program, so I only have to maintain 1 run-time system. Thanks, Tom Perrine tom@logicon.arpa == Perrine@DOCKMASTER.ARPA Logicon - Operating Systems Division San Diego, CA