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.
Visible to Intel only — GUID: GUID-1BFC0A62-03C6-4211-B3FF-F0BECDC58FE0
Visible to Intel only — GUID: GUID-1BFC0A62-03C6-4211-B3FF-F0BECDC58FE0
Save Compiler Information in Your Executable
Linux
To view the information stored in the object file, use the objdump command. For example:
objdump -sj comment a.out strings -a a.out | grep comment:
Windows
To view the linker directives stored in string format in the object file, use the link command. For example:
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 findstr command. For example, to search for any strings that contain the substring "Compiler":
findstr "Compiler" filename.exe