Cygwin PostgreSQL CVS build issues

From: Jason Tishler <jason(at)tishler(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Cygwin PostgreSQL CVS build issues
Date: 2003-04-29 18:14:32
Message-ID: 20030429181431.GA1428@tishler.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I'm in the process of creating some patches to fix the Cygwin specific
build issues mentioned in the following post:

http://archives.postgresql.org/pgsql-cygwin/2003-04/msg00053.php

I was able to resolve all problems except for the following:

1. src/include/port/win32defs.h does not seem to be in CVS yet.

2. ecpg_compat_mode is declared in
src/interfaces/ecpg/ecpglib/connect.c but does not seem to be
defined yet.

Also, I would like to know whether or not the following is an acceptable
way to get ecpg.dll linked against libpgtypes.a:

+++ interfaces/ecpg/ecpglib/Makefile 2003/04/29 17:40:25
@@ -22,6 +22,9 @@ OBJS= execute.o typename.o descriptor.o
connect.o misc.o

SHLIB_LINK= $(libpq)
+ifeq ($(PORTNAME), cygwin)
+SHLIB_LINK+= -L../pgtypeslib -lpgtypes
+endif

If not, what is the recommended approach?

Any help with the above will be greatly appreciated.

Thanks,
Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-04-29 18:26:39 Re: Cygwin PostgreSQL CVS build issues
Previous Message Peter Eisentraut 2003-04-29 17:58:48 Transform groups