11.1.3 Variables for Compiling and Linking Commands
In System Release 6.0, the following variables have been introduced to provide a standardized way of referencing the directories that contain header files and shared objects:
- INTEL_DIALOGIC_INC
- Variable that points to the directory where header files are stored.
- INTEL_DIALOGIC_LIB
- Variable that points to the directory where shared library files are stored.
These variables are automatically set at login and should be used in compiling and linking commands. The following is an example of a compiling and linking command that uses these variables:
cc -I${INTEL_DIALOGIC_INC} -o myapp myapp.c -L${INTEL_DIALOGIC_LIB} -lgc
- Note: It is strongly recommended that developers begin using these variables when compiling and linking applications since they will be required in future releases. The name of the variables will remain constant, but the values may change in future releases.
The following library files should be linked to the application:
- libgc.lib
- the primary Global Call library
- libdxxmt.lib
- the primary Voice library. This library is required only if the application uses R4 voice library functions directly, for example, dx_play( ).
Click here to contact Telecom Support Resources
Copyright 2002, Intel Corporation