This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
C COMPILER DRIVER PACKAGE OVERVIEW
CCompilerDriver User Guide
The CCompilerDriver Package lets you work with C compilers that are installed on your computer. It lets you build executables, libraries, and object files from C source code. It is called automatically by the Mathematica compiler when you set the option CompilationTarget to "C". It is also useful for building MathLink executables as well as Wolfram Libraries (dynamic linking libraries that can be linked into Mathematica).

Creating an Object File