Sun Studio 12: C User's Guide

A.1.15 Obsolete Options

The following table lists the options that have been deprecated. Note that the compiler may still accept these options, but may not do so in future releases. Begin using the suggested alternative option as soon as possible.

Table A–15 Obsolete Options Table

Option  

Action  

-dalign

Use -xmemalign=8s instead.

-KPIC (SPARC)

Use -xcode=pic32 instead.

-Kpic (SPARC)

Use -xcode=pic13 instead.

-misalign

Use -xmemalign=1i instead.

-misalign2

Use -xmemalign=2i instead.

-x386

Use -xchip=generic instead.

-x486

Use -xchip=generic instead.

-xa

Use -xprofile=tcov instead.

-xcg

Use -O instead to take advantage of the default values for -xarch, -xchip, and -xcache.

-xnativeconnect

Obsolete, there is no alternative option. 

-xprefetch=yes

Use -xprefetch=auto,explicit instead.

-xprefetch=no

Use -xprefetch=no%auto,no%explicit instead.

-xsb

Obsolete, there is no alternative option. 

-xsbfast 

Obsolete, there is no alternative option. 

-xtarget=386

Use -xtarget=generic instead.

-xtarget=486

Use -xtarget=generic instead.

-xvector=yes

Use -xvector=lib instead.

-xvector=no

Use -xvecttor=none instead.