pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@commandprompt.com>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Richard Evans <richard.evans@datanomic.com>
Cc: pgsql-bugs <pgsql-bugs@postgresql.org>
Subject: Re: BUG #5707: Cross compilation for windows is broken
Date: Fri, 29 Oct 2010 18:08:42 -0300
Message-ID: <1288386407-sup-8831@alvh.no-ip.org> (raw)
In-Reply-To: <AANLkTimPRaJF8HsrExUU7y=R7Wtxd01d08q6O=9mjgpJ@mail.gmail.com>
References: <201010121548.o9CFmjPa038535@wwwmaster.postgresql.org>
	<1286907735-sup-6339@alvh.no-ip.org>
	<AANLkTimPRaJF8HsrExUU7y=R7Wtxd01d08q6O=9mjgpJ@mail.gmail.com>

Excerpts from Robert Haas's message of vie oct 29 13:23:39 -0300 2010:
> On Tue, Oct 12, 2010 at 2:25 PM, Alvaro Herrera
> <alvherre@commandprompt.com> wrote:
> > Excerpts from Richard Evans's message of mar oct 12 12:48:45 -0300 2010:
> >
> >> When cross compiling for Windows using a separate build area, libpq.dll does
> >> not build because the .def file cannot be found.
> >>
> >> This appears to be caused by these lines in Makefile.shlib:
> >
> > Hmm, apparently this was made to work here:
> > http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=26af72b4
> >
> > and subsequently broken later:
> > http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=234c7ce9
> >
> > I think the real fix is to make the DEF files be generated in the
> > builddir, to complete the intention of the latter patch.
> 
> Is anyone working on that?

Not me.  I tried, but mingw32-gcc doesn't work out of the box for me,
because configure is not testing for the right accept() arguments.
That's what I can do with the time I can dedicate to a problem like this
right now (i.e. not much).

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support



view thread (7+ messages)  latest in thread

Message-ID: <1288386407-sup-8831@alvh.no-ip.org>
Permalink:  ../1288386407-sup-8831@alvh.no-ip.org/
Also on:    postgresql.org/message-id/1288386407-sup-8831@alvh.no-ip.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: alvherre@commandprompt.com, robertmhaas@gmail.com, richard.evans@datanomic.com
  Subject: Re: BUG #5707: Cross compilation for windows is broken
  In-Reply-To: <1288386407-sup-8831@alvh.no-ip.org>
  References: <201010121548.o9CFmjPa038535@wwwmaster.postgresql.org> <1286907735-sup-6339@alvh.no-ip.org> <AANLkTimPRaJF8HsrExUU7y=R7Wtxd01d08q6O=9mjgpJ@mail.gmail.com> <1288386407-sup-8831@alvh.no-ip.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox