comp_link example file

This topic contains an example script that can be used to build the demonstration program and the kernel extension.

#! /bin/ksh
# Script to build the demo executable and the demokext kernel extension.
cc -o demo demo.c
cc -c -DEBUG -D_KERNEL -DIBMR2 demokext.c -qsource -qlist
ld -o demokext demokext.o -edemokext -bimport:/lib/syscalls.exp -bimport:/lib/kernex.exp -lcsys 
   -bexport:demokext.exp -bmap:demokext.map