Sun Studio 12: C++ User's Guide

A.2.184 -Yc,path

Specifies a new path for the location of component c.

If the location of a component is specified, then the new path name for the component is path/component_name. This option is passed to ld.

A.2.184.1 Values

c must be one of the following values:

Table A–54 The -Y Flags

Value 

Meaning  

P 

Changes the default directory for cpp.

0 

Changes the default directory for ccfe.

a 

Changes the default directory for fbe.

2 (SPARC)  

Changes the default directory for iropt.

c (SPARC)  

Changes the default directory for cg.

O (SPARC)  

Changes the default directory for ipo.

k 

Changes the default directory for CClink.

l 

Changes the default directory for ld.

f 

Changes the default directory for c++filt.

m 

Changes the default directory for mcs.

u (x86)

Changes the default directory for ube.

i (x86)

Changes the default directory for ube_ipa.

h (x86)

Changes the default directory for ir2hf.

A 

Specifies a directory to search for all compiler components. If a component is not found in path, the search reverts to the directory where the compiler is installed. 

P 

Adds path to the default library search path. This path will be searched before the default library search paths. 

S 

Changes the default directory for startup object files 

Interactions

You can have multiple -Y options on a command line. If more than one -Y option is applied to any one component, then the last occurrence holds.

See also

Solaris Linker and Libraries Guide