The first part of the attached patch solves the Cygwin PostgreSQL ESQL
problem reported by Michael Lemke. See the Cygwin mailing list thread
that begins with the following:
http://sources.redhat.com/ml/cygwin/2001-04/msg00827.html
The second part of the patch tweaks
src/interfaces/ecpg/test/Makefile
so the test ESQL programs build under Cygwin too. The most notable
changes cause the libraries to be listed after the sources file on
the cc/gcc command lines.
Note that I tried the patch under Red Hat 6.2 Linux without any ill
effects.
Thanks,
Jason
--
Jason Tishler
Director, Software Engineering Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corp. Fax: +1 (732) 264-8798
82 Bethany Road, Suite 7 Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA WWW: http://www.dothill.com