Compiler Input Files

The Intel® C++ Compiler recognizes input files with the extensions listed in the following table:

File Name Interpretation Action
file.c C source file Passed to compiler
file.C
file.CC
file.cc
file.cpp
file.cxx
C++ source file Passed to compiler
file.a 
file.so
Library file Passed to linker
file.i Preprocessed file Passed to stdout
file.o Object file Passed to linker
file.s Assembly file Passed to assembler