Sun Studio 12: C User's Guide

B.2.86 -xe

Performs only syntax and semantic checking on the source file, but does not produce any object or executable code.