Developer Guide and Reference

Contents

Saving Compiler Information in Your Executable

If you want to save information about the compiler in your executable, use the
[Q]sox
option to save:
  • Compiler version number and options used to produce the executable.
  • Profile data and inlining information (if optional arguments were specified).

On Linux*

To view the information stored in the object file, use the following command:
objdump -sj comment a.out strings -a a.out | grep comment:

On Windows*

To view the linker directives stored in string format in the object file, use the following command:
link /dump /directives filename.obj
In the output, the
?-comment
linker directive displays the compiler version information. To search your executable for compiler information, use the following command:
findstr "Compiler" filename.exe
This searches for any strings that have the substring "Compiler" in them.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804