Re: Does Informix-4GL compile (c4gl) support -I option?
Posted in 1992
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL
In article <1992May13.141351.26362@mixcom.com> ttvvtt@mixcom.com (Donald Amby) writes: > > In our C modules, if we have an #include "xxx.h" and the file xxx.h is > not in the current directory, the directories given by the -I switch > to cc can find them. We thought that was also true when using an -I > switch on a c4gl line in our makefiles, when there is a: > > GLOBALS > "xxx.4gl" > > type of statement. Unfortunately, this does not seem to work. We get > an error message (4306) that it cannot find the file xxx.4gl. > > Are we missing something, or are we dead in the water? c4gl does not understand the -I flag. Look in the 4GL Reference Manual, Volume 1, Chapter 1 to find the syntax for c4gl. c4gl simply passes the -I flag to the C compiler. You'll have to use the full path for the filename of the globals file if it is not in the same directory as other 4gl source files. Blake -- ``'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`' ` Blake Hughes (415) 737-3600 ' ` bhughes@informix.com 1000 Marina Boulevard, Suite 650 ' ` Informix Software Brisbane, CA 94005 ' ``'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'