C/C++ Programmer's Guide (G06.27+, H06.08+, J06.03+)

18 Using the Native C/C++ Cross Compiler on the PC..................................312
NSDEE................................................................................................................................312
ETK.....................................................................................................................................312
Capabilities of ETK..........................................................................................................312
Hardware and Software Requirements................................................................................313
Online Help....................................................................................................................313
TDS....................................................................................................................................314
Hardware and Software Requirements................................................................................314
Online Help....................................................................................................................314
Cross Compilers...................................................................................................................315
Native C/C++ PC Cross Compiler.....................................................................................315
pTAL Cross Compiler........................................................................................................316
EpTAL Cross Compiler......................................................................................................316
COBOL85 Cross Compilers...............................................................................................317
PC Tools..............................................................................................................................317
HP Extensions for Codewright (TEC)...................................................................................317
Visual Inspect..................................................................................................................318
ar Tool (File Archive).........................................................................................................318
19 Running and Debugging C and C++ Programs.........................................319
Running Programs in the Guardian Environment........................................................................319
Usage Guidelines.................................................................................................................319
Running Programs in the OSS Environment...............................................................................320
Program Initialization............................................................................................................320
The Standard Input, Output, and Error Files.........................................................................320
Invocation of Constructors for Global and Static Variables.....................................................321
Accessing Environment Information.....................................................................................321
Parameters to the Function main.........................................................................................321
Retrieving Startup Information............................................................................................322
Program Termination.............................................................................................................322
Two Memory Models: Large and Small....................................................................................323
Small-Memory Model.......................................................................................................323
Large-Memory Model.......................................................................................................323
Two Data Models: 16-Bit and ILP32.........................................................................................325
Selecting Memory and Data Models.......................................................................................325
Converting Programs to the ILP32 Data Model..........................................................................326
Debugging C and C++ Programs...........................................................................................326
Debug............................................................................................................................327
Inspect...........................................................................................................................327
Native Inspect.................................................................................................................327
Visual Inspect Symbolic Debugger......................................................................................327
Debugging an Instrumented Application..................................................................................328
20 TNS C Compiler Messages....................................................................329
Types of Compiler Messages..................................................................................................329
21 Run-Time Messages...............................................................................363
Trap and Signal Messages.....................................................................................................363
CRE Service Function Messages..............................................................................................364
Heap-Management Messages................................................................................................370
Function Parameter Message..................................................................................................372
Math Function Messages.......................................................................................................373
Function Parameter Messages.................................................................................................374
Input/Output Messages.........................................................................................................375
Environment Messages..........................................................................................................381
12 Contents