Pavel HAMPL wrote:
>
> 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)
Have you considered ClientSDK? It doesn't get much cheaper than that.
> > 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).
Or, more succinctly,
c4gl -o test test.ec
--
Jonathan Leffler (jleffler@informix.com, jleffler@earthlink.net)
Guardian of DBD::Informix v0.60 -- see http://www.perl.com/CPAN
#include <disclaimer.h>