This ensures that all libraries and other files needed by the linker are available.
C Compiles the source file prog.
C and puts the executable code in the file a.out . All other files are passed directly to the linker by the compiler. Unless you use the -o option to specify otherwise, all files that the aCC compiling system generates are put in the working directory, even if the source files came from other directories. However, if you compile and link a single source file into an executable program in one step, the .o file is automatically deleted. It is recommended that your source files have extensions of .c or .C only, without additional characters.