Re: CFLAGS and LDFLAGS in 4GL 7.20UD1?
Posted in 1998
Jonathan Leffler wrote: > Are you using make or are you talking about the c4gl script itself? I am using i4gl, the "Program" menu option. > The more recent versions of I4GL (4.12 onwards, roughly) have support > for a C4GLFLAGS environment variable which would do for the job you're > looking to do -- bundle up both your current CFLAGS and LDFLAGS into > C4GLFLAGS. Thanks, that did it. I didn't find that environment variable in the 4GL manual, though. > Can you show that c4gl used these variables? What does this yield: > egrep '(C|LD)FLAGS' $INFORMIXDIR/bin/c4gl > > Given that you're working on Sinix, it is possible that this was an > addition made by the Siemens engineers who ported I4GL in those days. You are probably right. CFLAGS and LDFLAGS are not in the c4gl script, but in the i4gl program itself (found by "strings i4gl | fgrep FLAGS"). Thanks, Richard -- +--------------------------+------------------------------------------+ | Dr. Richard Spitz | INTERNET: spitz@ana.med.uni-muenchen.de | | EDV-Gruppe Anaesthesie | Tel : +49-89-7095-3413 | | Klinikum Grosshadern | FAX : +49-89-7095-8886 | | 81366 Munich, Germany | GSM : +49-172-8933578 | +--------------------------+------------------------------------------+