Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28446 Discussions

Feature request: Compiler Version Notes

ereisch
New Contributor II
282 Views

ifort currently generates comment sections in compiler-generated assembler files (built with "-s") that contain a lot of useful information, such as the compiler version and flags used when compiling; however, since these are comments, they do not find their way into the compiled object files.  Would it be possible to have the compiler mimic gcc's behavior and put this information instead in a ".note" section?  GCC uses ".note.GNU-stack" and places just the compiler version, which alone would be nice, but if there are no restrictions on data length, the compile flags would be nice too.  Or is there another way to retrieve the compile flags after the fact that I'm not seeing?

Thanks
 

0 Kudos
1 Solution
Steven_L_Intel1
Employee
282 Views

-sox embeds this information in a .comment section.

View solution in original post

0 Kudos
1 Reply
Steven_L_Intel1
Employee
283 Views

-sox embeds this information in a .comment section.

0 Kudos
Reply