Re: Regarding installation of FDW on Windows - Mailing list pgsql-hackers

From Dave Page
Subject Re: Regarding installation of FDW on Windows
Date
Msg-id CA+OCxowgKG9ndtViXuW=Fj4C7==UgzaZY1W-_mpMVyyiq0q8MA@mail.gmail.com
Whole thread Raw
In response to Regarding installation of FDW on Windows  (Atri Sharma <atri.jiit@gmail.com>)
Responses Re: Regarding installation of FDW on Windows  (Atri Sharma <atri.jiit@gmail.com>)
List pgsql-hackers
On Fri, Jul 13, 2012 at 9:31 AM, Atri Sharma <atri.jiit@gmail.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


pgsql-hackers by date:

Previous
From: Atri Sharma
Date:
Subject: Regarding installation of FDW on Windows
Next
From: Atri Sharma
Date:
Subject: Re: Regarding installation of FDW on Windows