Re: c4gl on Solaris 64-bit
Posted in 2004
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL, Platform-Specific Issues
"Jonathan Leffler" <jleffler@earthlink.net> wrote in message news:W01kc.13826$eZ5.7101@newsread1.news.pas.earthlink.net... > Ph. Chantry wrote: > > > Thank you for your answer. > > I have upgrated to gcc 3.3.2. > > Now, c4gl works better, but one problem remains: > > > > not all the 4gl files can be compiled. > > I get errors like: > > # c4gl -c myfile.4gl > > c4gl: line 458: 5517 Bus error $I4GLC4 -D -L $LEVEL -o $FBASE.c > > > You still need the -fwritable-strings option. > > I normally do that by setting INFORMIXC="gcc -fwritable-strings -m64" > in the environment. > Hmm... http://gcc.gnu.org/gcc-3.4/changes.html GCC 3.4 Release Series Changes, New Features, and Fixes ... The -fwritable-strings option has been deprecated and will be removed. What will we do when it is removed? Can IBM start fixing this now please??
David Williams wrote: > "Jonathan Leffler" <jleffler@earthlink.net> wrote: >>Ph. Chantry wrote: >>>Thank you for your answer. >>>I have upgrated to gcc 3.3.2. >>>Now, c4gl works better, but one problem remains: >>> >>>not all the 4gl files can be compiled. >>>I get errors like: >>># c4gl -c myfile.4gl >>>c4gl: line 458: 5517 Bus error $I4GLC4 -D -L $LEVEL -o $FBASE.c >> >>You still need the -fwritable-strings option. >> >>I normally do that by setting INFORMIXC="gcc -fwritable-strings -m64" >>in the environment. > > Hmm... http://gcc.gnu.org/gcc-3.4/changes.html > > GCC 3.4 Release Series > Changes, New Features, and Fixes > > ... > The -fwritable-strings option has been deprecated and will be removed. > > What will we do when it is removed? Can IBM start fixing this now please?? I noticed that a few days ago and read them the riot act - a continuation of a rant started about, oh, seven years ago, but this time with an externally imposed deadline for fixing it (since Linux uses GCC, it has to be fixed soon). One day, the ESQL/C headers and generated code will compile cleanly under excruciatingly tight warning levels too. -- Jonathan Leffler #include <disclaimer.h> Email: jleffler@earthlink.net, jleffler@us.ibm.com Guardian of DBD::Informix v2003.04 -- http://dbi.perl.org/