Understanding File Extensions

Input File Extensions

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

Output File Extensions

The Intel® C++ Compiler produces output files with the extensions listed in the following table:

File Name

Description

file.i

Preprocessed file -- produced with the -P option.

file.o

Object file -- produced with the -c option.

file.s

Assembly language file -- produced with the -S option.

a.out

Executable file -- produced by default compilation.

See Also


Submit feedback on this help topic

Copyright © 1996-2011, Intel Corporation. All rights reserved.