ecpg compile (compatlib)

Lists: pgsql-patches
From: deststar <deststar(at)blueyonder(dot)co(dot)uk>
To: pgsql-patches(at)postgresql(dot)org
Subject: ecpg compile (compatlib)
Date: 2003-06-15 15:18:45
Message-ID: 3EEC8E55.7090909@blueyonder.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches

*** src/interfaces/ecpg/compatlib/Makefile.orig Thu May 22 18:20:44 2003
--- src/interfaces/ecpg/compatlib/Makefile Sun Jun 15 15:45:34 2003
***************
*** 17,23 ****
SO_MINOR_VERSION= 0.0

override CPPFLAGS := -I$(top_srcdir)/src/interfaces/ecpg/include
-I$(top_srcdir)/src/include/utils $(CPPFLAGS)
! SHLIB_LINK = -L../pgtypeslib -lpgtypes

OBJS= informix.o

--- 17,23 ----
SO_MINOR_VERSION= 0.0

override CPPFLAGS := -I$(top_srcdir)/src/interfaces/ecpg/include
-I$(top_srcdir)/src/include/utils $(CPPFLAGS)
! SHLIB_LINK = -L../pgtypeslib -lpgtypes -L../ecpglib -lecpg

OBJS= informix.o


From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: deststar <deststar(at)blueyonder(dot)co(dot)uk>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: ecpg compile (compatlib)
Date: 2003-06-24 01:52:01
Message-ID: 200306240152.h5O1q1902050@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches


Can someone remind me why "-L../ecpglib -lecpg" is required for cygwin
but not for other platforms?

---------------------------------------------------------------------------

deststar wrote:
> *** src/interfaces/ecpg/compatlib/Makefile.orig Thu May 22 18:20:44 2003
> --- src/interfaces/ecpg/compatlib/Makefile Sun Jun 15 15:45:34 2003
> ***************
> *** 17,23 ****
> SO_MINOR_VERSION= 0.0
>
> override CPPFLAGS := -I$(top_srcdir)/src/interfaces/ecpg/include
> -I$(top_srcdir)/src/include/utils $(CPPFLAGS)
> ! SHLIB_LINK = -L../pgtypeslib -lpgtypes
>
> OBJS= informix.o
>
> --- 17,23 ----
> SO_MINOR_VERSION= 0.0
>
> override CPPFLAGS := -I$(top_srcdir)/src/interfaces/ecpg/include
> -I$(top_srcdir)/src/include/utils $(CPPFLAGS)
> ! SHLIB_LINK = -L../pgtypeslib -lpgtypes -L../ecpglib -lecpg
>
> OBJS= informix.o
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073


From: Jason Tishler <jason(at)tishler(dot)net>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: deststar <deststar(at)blueyonder(dot)co(dot)uk>, pgsql-patches(at)postgresql(dot)org
Subject: Re: ecpg compile (compatlib)
Date: 2003-06-24 12:03:34
Message-ID: 20030624120334.GC2296@tishler.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches

Bruce,

On Mon, Jun 23, 2003 at 09:52:01PM -0400, Bruce Momjian wrote:
> Can someone remind me why "-L../ecpglib -lecpg" is required for cygwin
> but not for other platforms?

Please see the following:

http://archives.postgresql.org/pgsql-hackers/2003-04/msg01005.php

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


From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Jason Tishler <jason(at)tishler(dot)net>
Cc: deststar <deststar(at)blueyonder(dot)co(dot)uk>, pgsql-patches(at)postgresql(dot)org
Subject: Re: ecpg compile (compatlib)
Date: 2003-06-24 13:33:56
Message-ID: 200306241333.h5ODXu316014@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches

Jason Tishler wrote:
> Bruce,
>
> On Mon, Jun 23, 2003 at 09:52:01PM -0400, Bruce Momjian wrote:
> > Can someone remind me why "-L../ecpglib -lecpg" is required for cygwin
> > but not for other platforms?
>
> Please see the following:
>
> http://archives.postgresql.org/pgsql-hackers/2003-04/msg01005.php

Yes, this is exactly the email I remember. My last question is do we
have this covered in every other case except this ecpg one?

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073


From: Jason Tishler <jason(at)tishler(dot)net>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: deststar <deststar(at)blueyonder(dot)co(dot)uk>, pgsql-patches(at)postgresql(dot)org
Subject: Re: ecpg compile (compatlib)
Date: 2003-06-24 13:51:54
Message-ID: 20030624135153.GF2296@tishler.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches

Bruce,

On Tue, Jun 24, 2003 at 09:33:56AM -0400, Bruce Momjian wrote:
> My last question is do we have this covered in every other case except
> this ecpg one?

AFAICT, yes. Or, more accurately, with CVS updated at about 7:00 AM ET
today, the following built cleanly (with deststar's ecpg patch applied
locally):

configure --enable-multibyte --with-python --with-perl --with-java --with-CXX ...

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


From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: deststar <deststar(at)blueyonder(dot)co(dot)uk>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: ecpg compile (compatlib)
Date: 2003-06-24 14:45:50
Message-ID: 200306241445.h5OEjo924097@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches


Patch applied. Thanks.

---------------------------------------------------------------------------

deststar wrote:
> *** src/interfaces/ecpg/compatlib/Makefile.orig Thu May 22 18:20:44 2003
> --- src/interfaces/ecpg/compatlib/Makefile Sun Jun 15 15:45:34 2003
> ***************
> *** 17,23 ****
> SO_MINOR_VERSION= 0.0
>
> override CPPFLAGS := -I$(top_srcdir)/src/interfaces/ecpg/include
> -I$(top_srcdir)/src/include/utils $(CPPFLAGS)
> ! SHLIB_LINK = -L../pgtypeslib -lpgtypes
>
> OBJS= informix.o
>
> --- 17,23 ----
> SO_MINOR_VERSION= 0.0
>
> override CPPFLAGS := -I$(top_srcdir)/src/interfaces/ecpg/include
> -I$(top_srcdir)/src/include/utils $(CPPFLAGS)
> ! SHLIB_LINK = -L../pgtypeslib -lpgtypes -L../ecpglib -lecpg
>
> OBJS= informix.o
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073


From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Jason Tishler <jason(at)tishler(dot)net>
Cc: deststar <deststar(at)blueyonder(dot)co(dot)uk>, pgsql-patches(at)postgresql(dot)org
Subject: Re: ecpg compile (compatlib)
Date: 2003-06-24 14:46:01
Message-ID: 200306241446.h5OEk1l24139@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches


OK, ecpg patch applied. Thanks for the testing.

---------------------------------------------------------------------------

Jason Tishler wrote:
> Bruce,
>
> On Tue, Jun 24, 2003 at 09:33:56AM -0400, Bruce Momjian wrote:
> > My last question is do we have this covered in every other case except
> > this ecpg one?
>
> AFAICT, yes. Or, more accurately, with CVS updated at about 7:00 AM ET
> today, the following built cleanly (with deststar's ecpg patch applied
> locally):
>
> configure --enable-multibyte --with-python --with-perl --with-java --with-CXX ...
>
> 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
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073