compiling esql/c code with c4gl?
Posted in 1999
Topics: Installation, Setup & Upgrades, Connectivity: ESQL/C, 4GL & Embedded SQL
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? Walter -- Walter Haslbeck <wh@sonic.ods.de>
Hi, As I remember (I don't work with Informix now), c4gl is a script, not executable. You can open it in editor and find exact name of that compiler. Informix has 2 separate programs for 4gl->ec and ec->c conversion. Sorry, but I don't remember those names... I hope it helps. Eduard 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? > > Walter > -- > Walter Haslbeck <wh@sonic.ods.de>
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. The definitive answer is: it depends! I4gl versions 7.20 and later use the same ESQL parser as ESQL/C does and so the answer is YES. Versions before that (ie 6.xx, 4.xx) had an independent ESQL/C parser that was not only different but supported an irregular subset of the language so excpet for the most trivial ESQL programs the answer was usually NO. Art S. Kagel