Indiana University
  •  
  •  
  •  

C compilers on the UITS central Unix systems

The UITS central Unix systems (Big Red and Quarry) at Indiana University have at least two C compilers: GNU C (gcc) and a vendor-specific compiler (often cc).

To use gcc on any of these systems, at the Unix prompt, enter:

gcc filename.c

For the ANSI gcc compiler, at the Unix prompt, enter:

gcc -ansi filename.c

In both examples, replace filename.c with the name of your C file.

For documentation on the GNU C compiler, refer to the gcc man page. For vendor-specific compilers, documentation is often available under the man pages for cc.