For Microsoft C we supply a batch file MC.BAT for each memory model supported (small, medium and large), showing the options we suggest you use.
If your C source is in a file called filename.c, issue the command:
MC filename orAny errors detected are found in the file C.ERR. If the compilation is successful, you can proceed to link it as an executable program, as described next.
For Metaware C for each memory model we supply a compiler profile HC.PRO that configures the Metaware compiler appropriately (these work equally well with the FlexOS version of the compiler). Small, Medium,Big and Large Memory models are supported.
If your C source is in a file called filename.c, issue the command:
hc.exe -c filename.c or if you use hc.batIf the compilation is successful, you can proceed to link it as an executable program, as described next.