Intel® oneAPI DPC++/C++ Compiler Developer Guide and Reference

ID 767253
Date 3/22/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

sox, Qsox

Tells the compiler to save the compilation options in the executable file.

Syntax

Linux:

-sox

Windows:

/Qsox

Arguments

None

Default

OFF

The compiler version number is saved in the object file.

Description

This option tells the compiler to save the compilation options in the executable file. The information is embedded as a string in each object file or assembly output.

When you specify this option, the size of the executable on disk is increased slightly. When you link the object files into an executable file, the linker places each of the information strings into the header of the executable. It is then possible to use a tool, such as a strings utility, to determine what options were used to build the executable file.

IDE Equivalent

None

Alternate Options

None