Notice! This document is currently in Archived status.
The content of this document may be incorrect or outdated.

Print this article Edit this article

Obtaining a printed copy of compilation errors

How to obtain a printed copy of compilation errors The error messages are written to "standard error". To capture the error messages, you can redirect standard error to a file.

In Bourne and Korn shells, the command:

	f77 myfile.f 2 > errors
and in C Shell, the command:
	f77 myfile.f >& errors
will direct the error messages into a file called "errors". You can then view "errors" using more or your favorite editor.

Last Modified: Dec 19, 2016 11:12 am US/Eastern
Created: May 31, 2007 1:37 pm GMT-4 by admin
JumpURL: