Next | Prev | Up | Top | Contents | Index

C Switch Differences

The 32-bit compiler supports the following switches which the 64-bit compiler does not:

-32,-mips1,-mips2


As in 32-bit Fortran above.

-kpicopt

Asks uopt to perform the special treatment for global variables to optimize their program accesses regardless of the shared/non-shared compilation mode.

-hpath

Use path rather than the directory where the name is normally found.

-Bstring

Append string to all names specified by the -t option.
The 64-bit compiler supports the following switches which the 32-bit compiler does not:

-64, -n32,-mips3 -mips4


As in 64-bit Fortran above.

-A

Add following cpp assertions.

-H

Run cpp and print list of headers.

-help

Print list of possible options.

-keep

Keep intermediate files.

-pcakeep

Run Power C Analyzer and keep listing and pca output.

-pcalist

Run Power C Analyzer and keep listing.

-show1

Show phases but don't have phases print additional info.

-showt

Show time taken by each phase.

-unsigned

Characters are unsigned by default.

-woffall

Turn off all warnings.
The following switches are accepted by both compilers but have different semantics:

-v

On the 32-bit compiler, it's the same as -show, whereas it means verbose warnings on the 64-bit compiler.

-woff

Turn off named warnings, but the warning numbers are different between the compilers.

-Wc,arg1,[,arg2...]


Designate to which pass, c, of the compiler the arguments are to be passed.

Next | Prev | Up | Top | Contents | Index