The compiler driver uses file extensions to distinguish the language the source file is written in. The compiler driver recognises the extension .c as C source files, .s and .asm as assembly code files, and .hzo as object code files.

We strongly recommend that you adopt these extensions for your source files and object files because you'll find that using the tools is much easier if you do.

##### C language files

When the compiler driver finds a file with a .c extension, it runs the C compiler to convert it to object code.

##### Java language files

When the compiler driver finds a file with a .java extension, it runs a Java compiler followed by the java byte code translator to convert the class file to object code.

##### Assembly language files

When the compiler driver finds a file with a .s or .asm extension, it runs the assembler to convert it to object code.

##### Object code files

When the compiler driver finds a file with a .hzo extension, it passes it to the linker to include it in the final application.