> I can see how to select a compiler when compiling ESQL/C but how do I
> specify the compiler (not esql's) options.
>
> E.G I have this in my Makefile for a C program
> CC=cc -m32 -B/usr/lib/i386-redhat-linux3E/lib/
Use the COPTS environment variable:
export COPTS="-m32 -B/usr/lib/i386-redhat-linux3E/lib/"
esql ...
-OR-
COPTS="-m32 -B/usr/lib/i386-redhat-linux3E/lib/" esql ....
Art S. Kagel
> If I set INFORMIXC to the string cc -m32
> -B/usr/lib/i386-redhat-linux3E/lib/
>
> I get a syntax error.
>
> Kate
kjuliff@gmail.com - 30 Jun 2006 21:04 GMT
Actually I worked out how to do it. I use the -c option to esql and it
passes the arument to the c compiler.
kjuliff@gmail.com - 30 Jun 2006 21:05 GMT
Actually I worked out how to do it. I use the -c option to esql and it
passes the argument to the c compiler.