This following files make up the source to a very simple example library: test.c Contains two library routines. try_lib.c Opens the test library and calls its two functions. test.fd .fd file describing test.library To build the library and test routines do the following steps. 1) Create #pragmas for the library. fd2pragma test.fd test_pragmas.h 2) Compile and link try_lib.c. No special options necessary. lc -L try_lib.c 3) Compile test.c as follows: lc -ml -v test.c 4) Generate the library from the .fd file and object modules. blink LIBPREFIX _LIB LIBFD test.fd to test.library FROM lib:libent.o lib:libinit.o test.o 5) Copy test.library to libs: copy test.library libs: 6) Run the test program. try_lib If everything worked ok you should see: Library Opened Successfully. test1 = 1 test2 = 2 Library Closed. For a detailed description on a library is created, refer to reslib.doc.