Sun Studio 12: C++ User's Guide

A.2.78.1 Values

phase must have one of the following values.

Table A–18 The -Qoption Values

SPARC 

x86  

ccfe

ccfe

iropt

cg386

cg

codegen

CClink

CClink

ld

ld

Examples

In the following command line, when ld is invoked by the CC driver, –Qoption passes the –i and –m options to ld.


example% CC -Qoption ld -i,-m test.c

Warnings

Be careful to avoid unintended effects. For example,


-Qoption ccfe -features=bool,iddollar

is interpreted as


-Qoption ccfe -features=bool -Qoption ccfe iddollar

The correct usage is


-Qoption ccfe -features=bool,-features=iddollar