Re: compiling esql/c code with c4gl?
Posted in 1999
On 10 May 1999, Walter Haslbeck wrote: > Hello, > > I want to install php3 with informix support on a SCO OpenServer > machine. Unfortunately on this machine is no escl/c compiler, > only a 4gl compiler. (And there is no budget for a esql/c compiler) > > As far as I know, the 4gl compiler creates first a .ec file from > the 4gl file, then a .c file and finally a object file. > > So I think it must be possible to use c4gl to compile esql sources. > > But how? Here is one from possible way: c4gl -e test.ec # Preprocessing cc -c test.c # Compiling c4gl -o test test.o # Linking c4gl -c -Preprocess & compile -e -Preprocess only ... You look at your $INFORMIXDIR/bin/c4gl (it is shell script). Regards, Pavel Hampl