Skip site navigation (1) Skip section navigation (2)

Re: ecpg generated files ignorable?

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>, meskes(at)postgresql(dot)org, Magnus Hagander <magnus(at)hagander(dot)net>
Subject: Re: ecpg generated files ignorable?
Date: 2008-06-27 12:56:11
Message-ID: 20080627125611.GC28169@alvh.no-ip.org (view raw or flat)
Thread:
Lists: pgsql-hackers
Michael Meskes wrote:
> On Wed, Jun 18, 2008 at 09:26:24PM -0400, Tom Lane wrote:

> > Makefile.shlib builds these in the distprep action, so I suppose
> > they're supposed to be there.  libpq .cvsignore's its equivalent
> > files, so I'd agree with doing that.  It looks like there should be
> > three such files in each directory, though, not just one?

There are three -- two of them are .cvsignore'd.  Should we just
.cvsignore the third one, or remove it from the build, or ...?

libpq has the three of them in .cvsignore so I guess this is what ecpg
should do as well.


> Well, in my source tree I have two, one for MS VC++ and one for Borland
> C++ Builder. And yes, I can build a third one for MS VC++ as well by
> just issuing the corresponding make call. However, I have no idea
> whether we need both, the only differ in the lib name:
> --- libecpgddll.def     2008-06-20 12:33:29.000000000 +0200
> +++ libecpgdll.def      2008-06-20 12:33:16.000000000 +0200
> @@ -1,5 +1,5 @@
>  ; DEF file for MS VC++
> -LIBRARY LIBECPGD
> +LIBRARY LIBECPG
>  EXPORTS
>        ECPGallocate_desc                @ 1
>        ECPGconnect                      @ 2
> 
> Maybe someone with more Windows knowledge can explain this? Magnus?

The weird thing is that the three files are generated for me
unconditionally (of course, I didn't issue a specific make call).

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

pgsql-hackers by date

Next:From: Richard HuxtonDate: 2008-06-27 13:49:53
Subject: ALTER DATABASE vs pg_dump
Previous:From: Bruce MomjianDate: 2008-06-27 12:32:30
Subject: Re: Removal of the patches email list

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group