The Intel® C++ Compiler recognizes the file name extensions listed in the table below:
Filename | Interpretation |
---|---|
filename.a | Object library |
filename.i | When you invoke the compiler with icc, the .i files are treated as C source files. The .i files are treated as C++ sources if you compile with icpc. |
filename.o | Compiled object module |
filename.s | Assembly file |
filename.so | Shared object file |
filename.S | Assembly file that requires preprocessing |
filename.c | C language source file |
filename.C filename.cc filename.CC filename.cpp filename.cxx |
C++ language source file |