Re: Problem with multi part ESQL compile
Posted in 1993
>From: everittp@ipc1.rrzn.uni-hannover.de (Perry Everitt) >Subject: Problem with multi part ESQL compile >Date: Wed, 29 Sep 1993 13:01:32 GMT >X-Informix-List-Id: <news.4447> >I am having a problem compiling a piece of ESQL/C code. >If I do a single stage compile ie esql -G -o file file.ec the program will >compile properly. >If I do a multi part compile ie esql -G -c file.ec > gcc -c -ansi -I$INFORMIXDIR/incl file.c >the gcc compiler says that there is a syntax eror in the generated C code. >Has anyone run into this problem? Not personally. What is the erroneous C construct, and which version of ESQL/C and which platform? >Would anyone know how informix calls the C compiler internally? Try looking at the shell script $INFORMIXDIR/bin/esql -- the 5.01.UC2 version actually does: exec $CC -I$INFDIR/incl/esql $A $SLIB $GLIB $OLIB However, the value of CC is hard-coded near the top of the script. Yours, Jonathan Leffler (johnl@informix.com) #include <disclaimer.h>