Header Files

Green Hills provides header files for use with C and C++ source files. These files are accessed by placing the #include directive in the source file. When the compiler sees #include file, it first searches in the directory containing the source file, then in the directories specified with the -I option, and finally in the default directories.

For C, the default directories are:

/usr/green/mcore/include
/usr/green/ansi

The contents of /usr/green/ansi shown below.
assert.h
ctype.h
errno.h
float.h
inline.h
ghcxx.h
interrup.h
interrupt.h
limits.h
locale.h
math.h
setjmp.h
signal.h
stdarg.h
stddef.h
stdio.h
stdlib.h
string.h
strings.h
time.h
varargs.h

For C++, the default directories vary depending on the C++ mode in use.


Previous

Next



Copyright © 1999, Green Hills Software. All rights reserved.