Sun Studio 12 Update 1: C++ User's Guide

B.2.9 #pragma ident


#pragma ident string

Use ident to place string in the .comment section of the executable.