Technical data

Cray Standard C/C++ Reference Manual
Table 3. -W phase Definitions
phase
System phase Command
p Preprocessor
0
Compiler
a
Assembler as on Cray PVP systems, cam on Cray
MPP systems
l
Loader System-specific; ld or cld.
Arguments to be passed to system phases can be entered in either of two styles. If
spaces appear within a string to be passed, the string is enclosed in double
quotes. When double quotes are not used, spaces cannot appear in the string.
Commas can appear wherever spaces normally appear; an option and its
argument can be either separated by a comma or not separated. If a comma is
part of an argument, it must be preceded by the \ character. For example, any of
the following command lines would send -e name and -s to the loader:
cc -Wl,"-e name -s" file.c
cc -Wl,-e,name,-s file.c
cc -Wl,"-ename",-s file.c
Because the preprocessor is built into the compiler, -Wp and -W0 are equivalent.
2.19.8 -Yphase,dirname (CC, cc, c89, cpp)
The -Yphase,dirname option specifies a new directory (dirname) from which the
designated phase should be executed. phase can be one or more of the following
values:
Table 4. -Y phase Definitions
phase
System phase Command
p Preprocessor
0
Compiler
a
Assembler as on Cray PVP systems, cam on Cray
MPP systems
l
Loader System-specific; ld or cld
34 S217936