Deprecated options are options for which there is a newer, replacement option.
Avoid using deprecated options and switch to the suggested alternative.
| Option |
Language |
Meaning |
| -386 |
C++
|
Use -xtarget=386 instead. |
| -486 |
C++
|
Use -xtarget=486 instead. |
| -a |
C++
|
Use -xa instead. |
| -a |
F95
|
Use -xprofile=tcov instead. |
| -cg |
C++ F95
|
Use -xcg instead. |
| -dalign |
C C++ F95
|
Use -xmemalign instead. |
| -explicitpar |
F95
|
Use -xexplicitpar instead. |
| -inline |
C++ F95
|
Use -xinline instead. |
| -KPIC |
C C++ F95
|
Use -xcode=pic32 instead. |
| -Kpic |
C C++ F95
|
Use -xcode=pic13 instead. |
| -libmieee |
C++
|
Use -xlibmieee instead. |
| -libmil |
C++ F95
|
Use -xlibmil instead. |
| -misalign |
C C++
|
This option is deprecated in the C compiler so use the -xmemalign=1i
option instead. However, this option is allowed in the C++ compiler where it permits
misaligned data in memory which would otherwise generate an error.
|
| -misalign2 |
C
|
Use -xmemalign=2i instead. |
| -native |
C C++ F95
|
Use -xtarget=native instead. |
| -noex |
C++
|
Use -features=no%except instead. |
| -nolib |
C++ F95
|
Use -xnolib instead. |
| -nolibmil |
C++ F95
|
Use -xnolibmil instead. |
| -Olevel |
C++
|
Use -xOlevel instead. Note: use the capital letter o for this
option, not zero.
|
| -p |
F95
|
Use -g and the performance analyzer analyzer(1) instead. |
| -p |
C C++
|
Use -xpg instead. |
| -pentium |
C++
|
Use -xtarget=pentium instead. |
| -pg |
C++
|
Use -xpg instead. |
| -pta |
C++
|
Use -template=wholeclass instead. |
| -pto |
C++
|
Use -instances=static instead. |
| -ptv |
C++
|
Use -verbose=template instead. |
| -q |
C++
|
Use -Q instead. |
| -qproduce |
C++
|
Use -Qproduce instead. |
| -time |
C++
|
Use -xtime instead. |
| -vdelx |
C++
|
Deprecated, do not use. |
| -Xm |
C++
|
Use -features=iddollar instead. |
| -x386 |
C F95
|
Use -xchip=generic instead. |
| -x486 |
C F95
|
Use -xchip=generic instead. |
| -xlic_lib |
C C++ F95
|
Use -library=sunperf instead. |