sox, Qsox

Tells the compiler to save the compilation options and version number in the Linux* OS executable or the Windows* OS object file.

IDE Equivalent

None

Architectures

IA-32, Intel® 64, IA-64 architectures

Syntax

Linux:

-sox

-no-sox

Mac OS X:

None

Windows:

/Qsox

/Qsox-

Arguments

None

Default

-no-sox
or/Qsox-

The compiler does not save the compiler options and version number in the executable.

Description

Tells the compiler to save the compilation options and version number in the Linux* OS executable or the Windows* OS object file.

On Linux systems, the size of the executable on disk is increased slightly by the inclusion of these infotmation strings.

This option forces the compiler to embed in each object file or assembly output a string that contains information about the compiler version and compilation options for each source file that has been compiled.

On Windows systems, the information stays in the object file. On Linux systems, 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.

If -no-sox or /Qsox- is specified, this extra information is not put into the object or assembly output generated by the compiler.

Alternate Options

None