Difference between revisions of "Library Sample Files"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Yvonnemilne (Talk | contribs) |
||
(2 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
The distribution of the RECITAL/Library in the lib sub-directory of the sdk directory, includes sample files to demonstrate the use of the Library functions and how to link and run applications which use the RECITAL/Library. Depending on the Operating System, the following sample files are included: | The distribution of the RECITAL/Library in the lib sub-directory of the sdk directory, includes sample files to demonstrate the use of the Library functions and how to link and run applications which use the RECITAL/Library. Depending on the Operating System, the following sample files are included: | ||
− | + | ====OpenVMS==== | |
− | ==OpenVMS== | + | |
{| class="wikitable" | {| class="wikitable" | ||
|File||Description | |File||Description | ||
|- | |- | ||
− | |dblsamp.c||C source code sample showing function usage. A full listing is included | + | |dblsamp.c||C source code sample showing function usage. A full listing is included [[Library dblsamp|here]]. |
|- | |- | ||
|dblsamp.com||Run this file to compile and link the sample. Use this file as a reference for compiling and linking your own applications. | |dblsamp.com||Run this file to compile and link the sample. Use this file as a reference for compiling and linking your own applications. | ||
Line 18: | Line 17: | ||
− | ==UNIX/Linux== | + | ====UNIX/Linux==== |
{| class="wikitable" | {| class="wikitable" | ||
|File||Description | |File||Description | ||
|- | |- | ||
− | |dblsamp.c||C source code sample showing function usage. A full listing is included | + | |dblsamp.c||C source code sample showing function usage. A full listing is included [[Library dblsamp|here]]. |
|- | |- | ||
|makefile||Run this makefile to compile and link the sample. Use this file as a reference for compiling and linking your own applications. | |makefile||Run this makefile to compile and link the sample. Use this file as a reference for compiling and linking your own applications. | ||
− | # make | + | # make |
|- | |- | ||
|dblsamp.o||C object code created by the make. | |dblsamp.o||C object code created by the make. | ||
Line 32: | Line 31: | ||
|dblsamp.exe||Executable code created by the make. Run the code using the dblsamp script. | |dblsamp.exe||Executable code created by the make. Run the code using the dblsamp script. | ||
|- | |- | ||
− | |dblsamp||Run this script to run the sample application. N.B. The calls to recitalxxUD.sh and | + | |dblsamp||Run this script to run the sample application. N.B. The calls to recitalxxUD.sh and the Recital [[Configuration Files]] are used to ensure that the necessary environment variables are defined before running the application. |
|- | |- | ||
|} | |} |
Latest revision as of 14:07, 6 May 2009
The distribution of the RECITAL/Library in the lib sub-directory of the sdk directory, includes sample files to demonstrate the use of the Library functions and how to link and run applications which use the RECITAL/Library. Depending on the Operating System, the following sample files are included:
OpenVMS
File | Description |
dblsamp.c | C source code sample showing function usage. A full listing is included here. |
dblsamp.com | Run this file to compile and link the sample. Use this file as a reference for compiling and linking your own applications. |
dblsamp.obj | C object code. |
dblsamp.exe | Run this file to run the sample application. N.B. To ensure that the necessary symbols and logicals are defined, the OpenVMS Developer login.com file must have been run prior to calling the application. |
UNIX/Linux
File | Description |
dblsamp.c | C source code sample showing function usage. A full listing is included here. |
makefile | Run this makefile to compile and link the sample. Use this file as a reference for compiling and linking your own applications.
# make |
dblsamp.o | C object code created by the make. |
dblsamp.exe | Executable code created by the make. Run the code using the dblsamp script. |
dblsamp | Run this script to run the sample application. N.B. The calls to recitalxxUD.sh and the Recital Configuration Files are used to ensure that the necessary environment variables are defined before running the application. |