San Diego State University logo

*Technical Briefs*
ROHAN help Files

----------------------------------------------------------------------

mcc

mcc merges the source code with the syntax error messages and invokes vi on the merged file. To use mcc, at the ROHAN prompt type:

rohan%  mcc  program.c  -o  program

When the file is first opened, the cursor is positioned on the first line that contains errors. Every error message follows the line to which it refers. After the current error line is a reference to the next error, or the string last error meaning all errors have been found. Once the corrections have been made, the editor should be exited normally. mcc strips the error messages from the source and re-invokes the compiler for another try.

This process continues until the program is free of syntax errors. The edit/compile cycle can be broken by leaving the editor without making changes, or by using a keyboard interrupt to terminate mcc after having left the editor.

----------------------------------------------------------------------


BACK ROHAN Help Index | Academic Computing Handouts, Manuals, and Help Files

This page last modified: December 11, 2002
Send comments/suggestions about this web page to webmaster@rohan.sdsu.edu

SDSU Faculty and Students may send questions about software on ROHAN or ROHAN UNIX problems to problems@rohan.sdsu.edu