Quantcast
Channel: Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1616

Understanding File Extensions

$
0
0

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.lib (Windows* OS)


file.a
file.so (Linux* OS and OS X*)

Library file

Passed to linker

file.i

Preprocessed file

Passed to stdout

file.obj (Windows* OS)


file.o (Linux* OS and OS X*)

Object file

Passed to linker

file.asm (Windows* OS)


file.s (Linux* OS and OS X*)

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.objfile.o

Object file -- produced with the -c (Linux* OS and OS X*) or /Fo (Windows* OS) option.

file.asmfile.s

Assembly language file -- produced with the S option.

file.exea.out

Executable file -- produced by default compilation.

Inglés

Viewing all articles
Browse latest Browse all 1616

Trending Articles