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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-hackers by date

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