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).


CreateExecutable create an executable from C code

CreateLibrary create a library from C code

CreateObjectFile create an object file from C code

$CCompiler ▪ CCompilers ▪ $CCompilerDefaultDirectory

New to Mathematica? Find your learning path »
Have a question? Ask support »