Importing foreign object files and libraries

These procedures allow foreign objects and/or libraries to be included in a Modula-3 program.

import_lib(X, P) If P/libX.a is a library, includes -LP -lX in the final link command. Otherwise, includes -lX in the final link command.

import_obj(X) Include X in the final link command.


[Modula-3 home page]

m3-request@src.dec.com
Last modified on Mon Sep 25 18:33:26 PDT 1995 by heydon 
     modified on Mon Jun 20 14:51:17 PDT 1994 by kalsow 
     modified on Thu Jan  7 18:40:57 PST 1993 by muller