Library Location
The source files for the Kernighan & Ritchie C libraries are stored in
$STM_ROOT/etc/prt/c
.The source files for ANSI C libraries are stored in
$STM_ROOT/etc/prt/ansic.
The Code Generator allows a mix of different styles of C. For example, if the target language is K&R C, the Code Generator includes any subroutines implements in ANSI C, or vice versa. In these cases, in addition to
Makefile
for the target language, the Code Generator produces another file for compiling the subroutines that were implemented in a different style of C. This file is calledC_Makefile
orANSIC_Makefile
respectively.