Visible to Intel only — GUID: GUID-57AD7042-0009-492D-8C6F-AC279E681F2A
Visible to Intel only — GUID: GUID-57AD7042-0009-492D-8C6F-AC279E681F2A
sox
Tells the compiler to save the compilation options and version number in the executable file. It also lets you choose whether to include lists of certain functions.
Linux: |
-sox[=keyword[,keyword]] -no-sox |
macOS: |
None |
Windows: |
None |
keyword |
Is the function information to include. Possible values are:
|
-no-sox |
The compiler does not save these informational strings in the object file. |
This option tells the compiler to save the compilation options and version number in the executable file. It also lets you choose whether to include lists of certain functions. The information is embedded as a string in each object file or assembly output.
If you specify option sox with no keyword, the compiler saves the compiler options and version number used in the compilation of the objects that make up the executable.
When you specify this option, the size of the executable on disk is increased slightly. Each keyword you specify increases the size of the executable. 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.
None
Example
The following commands are equivalent:
-sox=profile -sox=inline -sox=profile,inline
You can use the negative form of the option to disable and reset the option. For example:
-sox=profile -no-sox -sox=inline ! This means -sox=inline