Programmer's Guide to the Oracle Pro*C/C++ Precompiler Release 8.0 A54661_01 |
|
This appendix groups together in one place all references in this guide to system-specific information.
System-specific information is described in the appropriate Oracle system-specific documentation for your platform.
The location of the standard Pro*C/C++ header files-sqlca.h, oraca.h, and sqlda.h-is system specific. On UNIX systems, they are located in the $ORACLE_HOME/sqllib/public directory. For other operating systems, see your Oracle system-specific documentation.
When you use the Pro*C/C++ command-line option INCLUDE= to specify the location of a non-standard file to be included, you should also specify the same location for the C compiler. The way you do this is system specific. See"Migrating From Earlier Pro*C/C++ Releases" on page 3-10 .
Use the CODE= option to make the C code that Pro*C/C++ generates compatible with your system's C compiler. See "Function Prototyping" on page 3-14.
C compilers vary in the way they align struct components, usually depending on the system hardware. Use the sqlvcp() function to determine the padding added to the .arr component of a VARCHAR struct. See the section "Finding the Length of a VARCHAR Array Component" on page 3-59.
The size in bytes of integer datatypes and the binary external size of ROWID datatypes are system dependent. See the section "INTEGER" on page 3-22 and the section "ROWID" on page 3-24.
The order of bytes in a word is platform dependent. See the section "UNSIGNED" on page 3-26.
Connecting to Oracle using the Net8 drivers involves system-specific network protocols. See the section "Connecting to Oracle8" on page 4-18 for more details.
You link in your XA library in a system-dependent way. See the section "Linking" on page 4-56, and your Oracle installation or user's guides, for more information.
The location of the Pro*C/C++ Precompiler is system specific. See the section "The Precompiler Command" on page 9-2, and your installation or user's guides, for more information.
Each precompiler installation has a system configuration file. This file is not shipped with the precompiler; it must be created by the system administrator. The location (directory path) which Pro*C/C++ searches for the system configuration file is system dependent. See the section "Configuration Files" on page 9-5 for more information.
The syntax for the value of the INCLUDE command-line option is system specific. See "INCLUDE" on page 9-22.
Compiling and linking your Pro*C/C++ output to get an executable application is always system dependent. See the section "Compiling and Linking" on page 9-41, and the following sections, for additional information.
Compiling and linking Oracle Forms user exits is system specific. See Chapter 15, "Writing User Exits".