eCosTM Reference Manual
Prev | Chapter 3. Requirements for programs | Next

# Necessary headers

Any program which uses eCos system calls must have the following line at the top of the file:

    #include <cyg/kernel/kapi.h>

and the programmer must make sure that `cyg/kernel/kapi.h` is available in the compiler include path. This can be done by setting the `C_INCLUDE_PATH` environment variable or by including the `-I` flag on the compiler command line.

Prev | Home | Next
Requirements for programs | Up | Necessary link instructions