Each sample program is in a subdirectory of the <install_path>/samples/c directory.
The software that is supported for developing C applications is listed in Development environments.
On Windows, the sample programs can be built using the supplied command files. For example, to build the basic ECI sample ecib1.c, go to the eci subdirectory and process the ecib1mak.cmd file. All C samples can be built by changing to the <install path>/samples/c directory and processing the sampmak.cmd file.
make -f samp.mak
Linux on POWER® supports the use of IBM® XL C and GNU C. To compile the C sample programs using the IBM XL C compiler, use the command.
make -f samp.mak COMPILER=XL