FlexOS Compiling & Linking

The Metaware C Compiler must be used. Modify or re-write the code in dipflex.c (which is the sample code) and compile and link it in the usual way. The module dip5.obj should be included in the link. Remember to copy the appropriate version of dip5.obj from the dip distribution disk, and to take the appropriate version of HC.PRO from the programming tools disk. Appropriate commands for compiling and linking are:

Small model:

hc dipflex.c
link86 dip5,dipflex,hcowns.l86,hcse.l86

Medium model:

hc dipflex.c
link86 dip5,dipflex,hcownm.l86,hcme.l86

Large model:

hc dipflex.c
link86 dip5,dipflex,hcownl.l86,hcle.l86

Big model:

hc dipflex.c
link86 dip5,dipflex,hcownb.l86,hcbe.l86