Re: Regarding installation of FDW on Windows

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Atri Sharma <atri(dot)jiit(at)gmail(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Regarding installation of FDW on Windows
Date: 2012-07-13 08:41:39
Message-ID: CA+OCxowgKG9ndtViXuW=Fj4C7==UgzaZY1W-_mpMVyyiq0q8MA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Jul 13, 2012 at 9:31 AM, Atri Sharma <atri(dot)jiit(at)gmail(dot)com> wrote:
> Hi all,
>
> I am trying to install my FDW project on windows.I did some research
> and I believe I shall be requiring pre compiled binaries(dll files).I
> tried cross compiling using MinGW on my Ubuntu.I am using PGXS for
> compiling and making my project.I tried overriding CC and setting it
> to the MinGW C compiler,but I am getting header file not found errors.
>
> How can I compile binaries for windows with PGXS?

Are you trying to build them to use with the EDB distribution, or your
own builds? If the former, then you'll likely need to build with VC++
which means you cannot use PGXS. If it's your own build, then as long
as you used Mingw/Msys in the first place, you should be able to use
PGXS as you would on Linux.

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Atri Sharma 2012-07-13 08:46:20 Re: Regarding installation of FDW on Windows
Previous Message Atri Sharma 2012-07-13 08:31:24 Regarding installation of FDW on Windows