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:53:31
Message-ID: CA+OCxowyZ9Vj0-R7ga2sENoMKnk-Mo_SrUxaZ4P4aWNfSLAdsQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Jul 13, 2012 at 9:46 AM, Atri Sharma <atri(dot)jiit(at)gmail(dot)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

In response to

Responses

Browse pgsql-hackers by date

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