Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!brl-adm!adm!bridger@rand-unix.arpa From: bridger@rand-unix.arpa Newsgroups: comp.os.cpm Subject: Linking .REL files with Turbo Modula-2 Message-ID: <3298@brl-adm.ARPA> Date: Fri, 23-Jan-87 13:31:52 EST Article-I.D.: brl-adm.3298 Posted: Fri Jan 23 13:31:52 1987 Date-Received: Sat, 24-Jan-87 00:37:43 EST Sender: news@brl-adm.ARPA Lines: 18 Rick-- Have you, or anyone else, figured out how to use routines assembled/compiled outside the Modula-2 system with M2? The Echelon book says that M2 will be able to make use of SYSLIB and other Microsoft REL-format libraries. However, it also says that M2 can call procedures in REL format, but not FUNCTIONS (which return values)! To be of much use as a general-purpose language, and specifically in Z-System environments, M2 needs a way to link in ASM (and C and FORTRAN) generated REL files which return values. I'd guess that such routines will require some type of M2-compatible header that communicates their function and argument types to the linker. Do you have the specs, or any suggestions? --bridger