Vax C90-EL SERIES Service Manual Page 14

  • Download
  • Add to my manuals
  • Print
  • Page
    / 216
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 13
Cray Standard C/C++ Reference Manual
Page
Implicit Inclusion . . . . . . . . . . . . . . . . . . . . . . . . 116
Predefined Macros [7] 117
Macros Required by the C and C++ Standards . . . . . . . . . . . . . . . . 117
Macros Based on the Host Machine . . . . . . . . . . . . . . . . . . . 118
Macros Based on the Target Machine . . . . . . . . . . . . . . . . . . 118
Macros Based on the Compiler . . . . . . . . . . . . . . . . . . . . 119
Debugging Cray Standard C/C++ Code [8]
121
Cray TotalView Debugger . . . . . . . . . . . . . . . . . . . . . . 121
Compiler Debugging Options . . . . . . . . . . . . . . . . . . . . . 122
Interlanguage Communication [9]
123
Calls between C and C++ Functions . . . . . . . . . . . . . . . . . . . 123
Calling Assembly Language Functions from a C or C++ Function . . . . . . . . . . 125
Cray Assembly Language (CAL) Functions on UNICOS Systems . . . . . . . . . 125
Cray Assembler for MPP (CAM) Functions on UNICOS/mk Systems . . . . . . . . 125
Calling Fortran Functions and Subroutines from a C or C++ Function . . . . . . . . . 126
Requirements . . . . . . . . . . . . . . . . . . . . . . . . . 126
Argument Passing . . . . . . . . . . . . . . . . . . . . . . . 127
Array Storage . . . . . . . . . . . . . . . . . . . . . . . . . 127
Logical and Character Data . . . . . . . . . . . . . . . . . . . . 128
Accessing Named Common from C and C++ . . . . . . . . . . . . . . . 129
Accessing Blank Common from C or C++ . . . . . . . . . . . . . . . . 131
Cray Standard C and Fortran Example . . . . . . . . . . . . . . . . . 133
Calling a Fortran Program from a Cray Standard C++ Program . . . . . . . . . . 136
Calling a C and C++ Function from an Assembly Language or Fortran Program . . . . . 137
Implementation-defined Behavior [10]
141
Implementation-defined Behavior . . . . . . . . . . . . . . . . . . . 141
Messages . . . . . . . . . . . . . . . . . . . . . . . . . . 141
Environment . . . . . . . . . . . . . . . . . . . . . . . . . 141
x S217936
Page view 13
1 2 ... 9 10 11 12 13 14 15 16 17 18 19 ... 215 216

Comments to this Manuals

No comments