INFORMIX SOLARIS GCC
Posted in 2004
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL, Platform-Specific Issues
Does anybody has a pre-defined setup guide for teh following environment. Solaris 8 64 bits Informix-4GL 7.32.FC1 GCC as a compiler. Thanks Francois
"Francois" <devcet@qc.aira.com> wrote in message news:MXZDc.38$gy2.685@news20.bellglobal.com... > Does anybody has a pre-defined setup guide for teh following environment. > Set INFORMIXC environment variable to "gcc -fwritable-strings" > Solaris 8 64 bits > Informix-4GL 7.32.FC1 > GCC as a compiler. > > Thanks > > Francois > >
David Williams wrote: > "Francois" <devcet@qc.aira.com> wrote: >>Does anybody has a pre-defined setup guide for the following environment. > > Set INFORMIXC environment variable to "gcc -fwritable-strings" > >>Solaris 8 64 bits >>Informix-4GL 7.32.FC1 >>GCC as a compiler. You may have to worry about a few other options, such as mapping the Sun -KPIC ---> GCC -fPIC, but the basic concept is accurate, and the -fwritable-strings is necessary (even though it is formally deprecated in GCC 3.4.0 so that the writing is on the wall, as well as to the read-only strings). There is a bug for it - I forget the number. -- Jonathan Leffler #include <disclaimer.h> Email: jleffler@earthlink.net, jleffler@us.ibm.com Guardian of DBD::Informix v2003.04 -- http://dbi.perl.org/