Vax C90-EL SERIES Service Manual Page 63

  • Download
  • Add to my manuals
  • Print
  • Page
    / 216
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 62
Compiler Commands [2]
The following example compiles mydata1.C, writes object file mydata1.o,
and produces a scalar optimization report to stdout.
CC -c -h report=s mydata1.C
The following example compiles mydata3.c and produces the executable
file a.out. A 132-column pseudo assembly listing file is also produced
in file mydata3.L.
cc -h listing mydata3.c
The following example compiles myfile.c and passes an option to the
loader (-Dalign=modules) that causes blocks of code to be aligned.
cc -Wl,"-Dalign=modules" myfile.c
The following example compiles myfile.C and instructs the compiler to
attempt to inline calls aggressively to functions defined within myfile.C.An
inlining report is directed to myfile.V.
CC -h inline3,report=if myfile.C
2.24 Environment Variables
The environment variables listed below are used during compilation.
V
ariable Description
CRAYOLDCPPLIB If set to a nonzero value, this variable instructs the
compiler to resolve references using C++ libraries
that are compatible with code developed under
programming environment 3.4 or 3.5 and then use
the C++ library of programming environment 3.6.
Some C++ codes compiled with previous
compilers may be binary incompatible with the 3.6
C++ compiler. The CRAYOLDCPPLIB environment
variable suppresses these incompatibilities
by using the libCx.a library, which is the
libC.a library of programming environment
3.5, in conjunction with the libC.a library of
programming environment 3.6. If you do not
use the variable, your older code may require
modification to compile successfully. Refer to
Programming Environments Release Overview for
more information about modifying your code.
S217936 43
Page view 62
1 2 ... 58 59 60 61 62 63 64 65 66 67 68 ... 215 216

Comments to this Manuals

No comments