Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group