Re: Problem with multi part ESQL compile
Posted in 1993
everittp@ipc1.rrzn.uni-hannover.de (Perry Everitt) writes: > 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? try: gcc -c -traditional -I$INFORMIXDIR/incl file.c or just take out the -ansi (esqlc doesn't generate ANSII code). > Would anyone know how informix calls the C compiler internally? esql is a script in $INFORMIXDIR/bin (at least in 4.10). Have a look. > Thanks > Perry Everitt =========================================================================== | Bill Hails <bill@tardis.co.uk> | | | C.L.I. Connect Ltd. | README: permission denied | | 19, Quarry St., Guildford, Surrey | | | GU1 3UY. Tel (UK) 0483 300 200 | | ===========================================================================