2. Embedded QUEL for C : Precompiling, Compiling, and Linking an EQUEL Program : Generating an Executable Program : The C Compiler
 
Share this page                  
The C Compiler
UNIX: The preprocessor generates C code You can use the UNIX cc command to compile this code. All of the cc command line options can be used.
The following example preprocesses and compiles the file "test1".
eqc test1.qc
cc -c test1.c  
VMS: The preprocessor generates C code. You should use the VMS cc (VAX-11 C) command to compile this code. You can use most of the cc command line options. However, you should not use the g_float qualifier (to the VAX C compiler) if floating-point values in the file are interacting with Ingres floating-point objects.
The following example preprocesses and compiles the file "test1". Both the EQUEL preprocessor and the C compiler assume the default extensions.
eqc test1
cc/list test1  
Note:  Check the Readme file for any operating system specific information on compiling and linking EQUEL/C programs.