Re: 4GL & GCC
Posted in 1997
>From: Richard Stanford of the invalid email address! >Date: Fri, 9 May 1997 16:47:33 -0500 >X-Informix-List-Id: <news.37797> > >On Fri, 9 May 1997, Deister wrote: >> Program compile fine and works OK until OPEN WINDOW statment. Program >> core dumps and not xterm window. >> Shurelly I've tried it on Sun C compiler and it works fine. >Hrm... That's what I'd expect. >> Maybe there are flags I must put on gcc compiling but I don't know wich >> of all them (There are many :-) ) > >Alright. Which flags are you using now on gcc, and which are you using now >on cc? It's quite simple, and it's also in the release notes for any recent (last 3 years or so) version of I4GL. Use: -fwritable-strings If you don't do this, you get core dumps. It says so in the notes. >> Can you compile OK with gcc? >Never tried, actually, but we've used several different compilers with good >results. Yes, it works like a charm (well, it works, at any rate) provided you pay attention to what is put into the release notes to help you! Yours, Jonathan Leffler (johnl@informix.com) #include <disclaimer.h>