Whole document tree
    

Whole document tree

A Common Error Description Library for UNIX: The error-table compiler
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.3 The error-table compiler

The error table compiler is named compile_et. It takes one argument, the pathname of a file (ending in `.et', e.g., `dsc_err.et') containing an error table source file. It parses the error table, and generates two output files -- a C header file (`discuss_err.h') which contains definitions of the numerical values of the error codes defined in the error table, and a C source file which should be compiled and linked with the executable. The header file must be included in the source of a module which wishes to reference the error codes defined; the object module generated from the C code may be linked in to a program which wishes to use the printed forms of the error codes.


[ << ] [ >> ]           [Top] [Contents] [Index] [ ? ]

This document was generated by Philippe Troin on September, 23 2003 using texi2html