Intel® oneAPI DPC++/C++ Compiler Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
File Extensions
Input File Extensions
The Intel® oneAPI DPC++/C++ Compiler recognizes input files with the extensions listed in the following table:
File Name (OS Agnostic)  |  
        File Name for Linux  |  
        File Name for Windows  |  
        Interpretation  |  
        Action  |  
       
|---|---|---|---|---|
file.c  |  
        C source file  |  
        Passed to the compiler.  |  
       ||
file.C file.CC file.cc file.cpp file.cxx  |  
        C++ source file  |  
        Passed to the compiler.  |  
       ||
file.a file.so  |  
        file.lib  |  
        Library file  |  
        Passed to the linker.  |  
       |
file.i  |  
        Preprocessed file  |  
        Passed to the compiler.  |  
       ||
file.o  |  
        file.obj  |  
        Object file  |  
        Passed to the linker.  |  
       |
file.s file.S  |  
        file.asm  |  
        Assembly file  |  
        Passed to the assembler.  |  
       
Output File Extensions
The Intel® oneAPI DPC++/C++ Compiler produces output files with the extensions listed in the following table:
File Name (OS Agnostic)  |  
        File Name for Linux  |  
        File Name for Windows  |  
        Description  |  
       
|---|---|---|---|
file.i  |  
        Preprocessed file: Produced with the -E option.  |  
       ||
file.o  |  
        file.obj  |  
        Object files: 
  |  
       |
file.s  |  
        file.asm  |  
        Assembly language file: 
  |  
       |
a.out  |  
        file.exe  |  
        Executable file: Produced by the default compilation. 
  |