ERRORFILE: Error filename Specification

Tools

Compiler, Assembler, Linker, or Burner

Synonym

None

Syntax
  ERRORFILE=<filename>
  
  
Arguments

<filename>: filename with possible format specifiers

Description

The ERRORFILE environment variable specifies the name for the error file.

Possible format specifiers are:

Examples
  ERRORFILE=MyErrors.err
  
  

Lists all errors into the MyErrors.err file in the current directory.

  ERRORFILE=\tmp\errors
  
  

Lists all errors into the errors file in the \tmp directory.

  ERRORFILE=%f.err
  
  

Lists all errors into a file with the same name as the source file, but with the *.err extension, into the same directory as the source file. If you compile a file such as sources\test.c, an error list file, \sources\test.err, is generated.

  ERRORFILE=\dir1\%n.err
  
  

For a source file such as test.c, an error list file with the name \dir1\test.err is generated.

  ERRORFILE=%p\errors.txt
  
  

For a source file such as \dir1\dir2\test.c, an error list file with the name \dir1\dir2\errors.txt is generated.

If the ERRORFILE environment variable is not set, the errors are written to the EDOUT file in the current directory.