Re: ESQL/C Compiling Error
Posted in 1998
Troy Peterson wrote: > > David, > > Thank you for the solution. I researched what the "-c" option does and > it's apparently a directive to the c compiler. My system documentation > tells me it causes the compiler to behave as follows: "Suppress the linking > phase of the compilation; save the object files." > What is the net effect of compiling in this fashion? Will it harm anything > when I compile this object with my other C & Fortran programs? > Also, do you have a guess on why I didn't have to compile this way to begin > with? The '-c' is needed so you can compile and get an object file (*.o) to link with your FORTRAN and C modules. Before you may have had an environment variable to set the default options of esql or someone modified the esql script in the earlier version. This is always the way that esql worked. Art S. Kagel