[comp.os.cpm] Linking .REL files with Turbo Modula-2

bridger@rand-unix.arpa (01/23/87)

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