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+OCxowyZ9Vj0-R7ga2sENoMKnk-Mo_SrUxaZ4P4aWNfSLAdsQ@mail.gmail.com
Whole thread Raw
In response to Re: Regarding installation of FDW on Windows  (Atri Sharma <atri.jiit@gmail.com>)
Responses Re: Regarding installation of FDW on Windows
List pgsql-hackers
On Fri, Jul 13, 2012 at 9:46 AM, Atri Sharma <atri.jiit@gmail.com> wrote:
>
> Hi Dave,
>
> I am sorry,I am not too sure about EDB.Cannot I cross compile even for
> EnterpriseDB version?

I doubt it. The EDB builds are compiled with VC++ 2008 (for 9.0/9.1).
If you cross-compile with GCC, you'll be using a different version of
the runtime library.

> I am not too good with windows.I downloaded PostgreSQL 9.1 for windows
> from PostgreSQL website.
>
> What should I be doing?

You'll need to get a copy of VC++ 2008 (the express version is a free
download), and create a VC++ project file to compile your FDW. I'd
suggest you actually try building PostgreSQL first, as that will cause
a number of project files to be generated which you could use as a
reference.


-- 
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: Re: Regarding installation of FDW on Windows
Next
From: Atri Sharma
Date:
Subject: Re: Regarding installation of FDW on Windows