RE: Need compiling help
Posted in 1999
Where can I get the freeware compilers? Thanks, Dianne -----Original Message----- From: Jonathan Leffler [mailto:jleffler@informix.com] Sent: Wednesday, February 03, 1999 12:21 PM To: dianne.pendleton@autodesk.com Cc: informix-list@iiug.org Subject: Re: Need compiling help On Tue, 2 Feb 1999 dianne.pendleton@autodesk.com wrote: > Hi. I am trying to compile dostats.ec from the IIUG Software repository. > When I run esql -log dostats.log -o dostats dostats.ec I get: > > (Bundled) cc: "dostats.ec", line 174: error 1705: Function prototypes are an > ANSI feature. Don't use the bundled C compiler which comes with HP-UX; it does not recognize function prototypes. It has two uses; it can reompile the kernel, and it can compile and install GCC or EGCS, both of which are freeware compilers which do handle ANSI C prototypes. > When I run esql -e -log dostats.log -o dostats dostats.ec I get no errors. > So the problem is not at the precompiler stage. > > Platform information: > HP-UX 10.20 > OnLine 7.23.UC1 > ESQL/C 7.22.UC1 Once you've installed GCC or EGCS, either place GCC as cc in a directory in $PATH ahead of the bundled C compiler, or set INFORMIXC=gcc. Yours, Jonathan Leffler (jleffler@informix.com) #include <wish/I/was/skiing.h> Guardian of DBD::Informix v0.60 (v0.61_02) -- http://www.perl.com/CPAN Informix IDN for D4GL & Linux -- http://www.informix.com/idn