Re: ecpg generated files ignorable? - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: ecpg generated files ignorable?
Date
Msg-id 20080627125611.GC28169@alvh.no-ip.org
Whole thread Raw
In response to Re: ecpg generated files ignorable?  (Michael Meskes <meskes@postgresql.org>)
Responses Re: ecpg generated files ignorable?  (Michael Meskes <meskes@postgresql.org>)
Re: ecpg generated files ignorable?  (Magnus Hagander <magnus@hagander.net>)
List 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


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Table inheritance surprise
Next
From: Richard Huxton
Date:
Subject: ALTER DATABASE vs pg_dump