Re: BUG #5707: Cross compilation for windows is broken - Mailing list pgsql-bugs

From Alvaro Herrera
Subject Re: BUG #5707: Cross compilation for windows is broken
Date
Msg-id 1286907735-sup-6339@alvh.no-ip.org
Whole thread Raw
In response to BUG #5707: Cross compilation for windows is broken  ("Richard Evans" <richard.evans@datanomic.com>)
Responses Re: BUG #5707: Cross compilation for windows is broken  (Robert Haas <robertmhaas@gmail.com>)
List 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@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-bugs by date:

Previous
From: Rodriguez Fernando
Date:
Subject: Re: Could not open file pg_xlog/000000010....
Next
From: Tom Lane
Date:
Subject: Re: Could not open file pg_xlog/000000010....