Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!oliveb!pyramid!infmx!dror From: dror@infmx.UUCP (Dror Matalon) Newsgroups: comp.databases Subject: Re: Any experiences with C-language screen generators? Message-ID: <2011@infmx.UUCP> Date: 4 Aug 89 16:10:27 GMT References: <617173680.11604@telly.on.ca> <2244@ucsfcca.ucsf.edu> <611@daitc.daitc.mil> <4290@void.UUCP> <919@lakesys.UUCP> Reply-To: dror@infmx.UUCP (Dror Matalon) Organization: Informix, Menlo Park, Ca. U.S.A. Lines: 41 In article <919@lakesys.UUCP> davef@lakesys.UUCP (Dave Fenske) writes: >In article <4290@void.UUCP> cam@void.UUCP (Cam Fox) writes: >>I found Informix 4GL interesting BUT you want C code ???? >>A 4 line menu compiled from Informix 4GL generated code was >400K. >>This was over a year ago but I have not heard that there had been >>any changes. >> >> >I've seen Charm. It seems to run well and the object modules aren't all that ^^^^^^ >large. Big differance there. Informix 4gl doesn't generate big modules either: I just compiled a 200 lines program and got a 30K object module. The same program though when linked with the libraries, produced a 300K executable. The code that's generated is bigger than the original source because there are a lot of automatic error checking, and conversions that are done for you (after all that's what's so nice about 4gls.), but this increase is not that significant. The main reason your program grows so much is because the linker links in the display and menu libraries which includes a lot of stuff. Than again how often are you going to be using I4gl to write a 4 lines menu ? The original poster though was asking about linking C programs to 4gls. This he can do without looking at the C code by just mixing in 4gl files, C files, and object files generated by other compilers all on the command line: c4gl file1.4gl file2.c file3.o .... -o prog /* These are my opinions and mine only, the are certainly not Informix's */ Dror Matalon Informix Software Inc. {pyramid,uunet}!infmx!dror 4100 Bohannon drive Menlo Park, Ca. 94025 415-926-6426 -- Dror Matalon Informix Software Inc. {pyramid,uunet}!infmx!dror 4100 Bohannon drive Menlo Park, Ca. 94025 415-926-6426