Sun Studio 12: C User's Guide

3.1.1 Example of Use

The following example illustrates how to enable and control parallelized C:


% cc -fast -xO4 -xautopar example.c -o example

This generates an executable called example, which can be executed normally. If you wish to take advantage of multiprocessor execution, see B.2.69 -xautopar.