Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 56AC21336FA7 for ; Sat, 26 Feb 2011 03:14:46 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 02865-01 for ; Sat, 26 Feb 2011 07:14:38 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from momjian.us (momjian.us [70.90.9.53]) by mail.postgresql.org (Postfix) with ESMTP id 891C7133616B for ; Sat, 26 Feb 2011 03:14:38 -0400 (AST) Received: (from bruce@localhost) by momjian.us (8.11.6/8.11.6) id p1Q7Eca05921; Sat, 26 Feb 2011 02:14:38 -0500 (EST) From: Bruce Momjian Message-Id: <201102260714.p1Q7Eca05921@momjian.us> Subject: Re: BUG #5707: Cross compilation for windows is broken In-Reply-To: <1288386407-sup-8831@alvh.no-ip.org> To: Alvaro Herrera Date: Sat, 26 Feb 2011 02:14:37 -0500 (EST) CC: Robert Haas , Richard Evans , pgsql-bugs X-Mailer: ELM [version 2.4ME+ PL124 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="UNKNOWN-8BIT" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201102/230 X-Sequence-Number: 29502 Has this been addressed? --------------------------------------------------------------------------- Alvaro Herrera wrote: > 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 > > 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 > The PostgreSQL Company - Command Prompt, Inc. > PostgreSQL Replication, Consulting, Custom Development, 24x7 support > > -- > Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-bugs -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. +