$ ! Copyright © 2007, Oracle Corporation. All Rights Reserved. $! $! This command procedure creates a shared executable named PRO_C_EXT_FUNC.EXE $! which provides entry points to access an Oracle RDBMS database and which $! can be used as external functions from within Rdb SQL. $! $! Note that this command file assumes the architecture defaults for the $! floating point format: G_FLOAT on Alpha and IEEE on Itanium. These defaults $! correspond to the format that PRO*C SQL will use for floating point numbers $! it returns. On both architectures, Rdb SQL will assume the format is always $! G_FLOAT so there is conditional code in pro_c_ext_func.c that converts the $! formats on the Itanium. $! $! Precompile and compile the Pro*C program. $! $ proc pro_c_ext_func.pc $ cc pro_c_ext_func.c $! $! The lnproc.com Oracle linker command file is normally defined as a symbol by $! the ORAUSER command file. The "I" option causes it to link a shared image. $! $ lnproc pro_c_ext_func pro_c_ext_func,pro_c_ext_func/opt IMT