Re: BUG #5707: Cross compilation for windows is broken

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Richard Evans <richard(dot)evans(at)datanomic(dot)com>
Cc: pgsql-bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #5707: Cross compilation for windows is broken
Date: 2010-10-12 18:25:20
Message-ID: 1286907735-sup-6339@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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.

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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2010-10-12 19:25:22 Re: Could not open file pg_xlog/000000010....
Previous Message Rodriguez Fernando 2010-10-12 17:31:31 Re: Could not open file pg_xlog/000000010....