From: | Atri Sharma <atri(dot)jiit(at)gmail(dot)com> |
---|---|
To: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
Cc: | Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>, Dave Page <dpage(at)pgadmin(dot)org>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Regarding installation of FDW on Windows |
Date: | 2012-07-13 13:43:14 |
Message-ID: | CAOeZVicmVUOCLdLx1-PL_n1Xf4sVgoa=XGqc+PtkFn65zNAnvg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Fri, Jul 13, 2012 at 7:03 PM, Andrew Dunstan <andrew(at)dunslane(dot)net> wrote:
>
> On 07/13/2012 09:12 AM, Atri Sharma wrote:
>>
>> On Fri, Jul 13, 2012 at 6:40 PM, Andrew Dunstan <andrew(at)dunslane(dot)net>
>> wrote:
>>>
>>> On 07/13/2012 08:57 AM, Atri Sharma wrote:
>>>>
>>>> On Fri, Jul 13, 2012 at 6:13 PM, Andrew Dunstan <andrew(at)dunslane(dot)net>
>>>> wrote:
>>>>>
>>>>> On 07/13/2012 08:07 AM, Albe Laurenz wrote:
>>>>>>
>>>>>> I have read a report that extensions built with MinGW are compatible
>>>>>> with
>>>>>> EDB's binaries if you use --disable-float8-byval
>>>>>>
>>>>>> (http://www.postgresonline.com/journal/archives/246-ODBC-Foreign-Data-wr
>>>>>> apper-odbc_fdw-on-windows.html).
>>>>>
>>>>>
>>>>>
>>>>> Unfortunately, not always.
>>>>>
>>>>> I had to change how file_fixed_length_record_fdw did its IO before this
>>>>> would work.
>>>>>
>>>>> cheers
>>>>>
>>>>> andrew
>>>>>
>>>>>
>>>> Andrew,
>>>>
>>>> I am trying to make pre compiled binaries so that,in case users of my
>>>> project(on windows) do not have a build environment configured,they
>>>> can use the pre compiled binaries to use my project.The best way to do
>>>> this seems to be cross compile.
>>>>
>>>> I tried overriding CC in makefile of my project and setting the value
>>>> of CC to MinGW C compiler,but,it gave errors(header files not found).
>>>>
>>>> What changes should I make?
>>>>
>>>
>>> Don't cross-compile. Build on Windows.
>>>
>>> cheers
>>>
>>> andrew
>>>
>>>
>>>
>> So,I should set up the build environment on windows and then install my
>> FDW?
>>
>
>
> Yes.
>
>
> cheers
>
> andrew
>
Thanks Andrew!
--
Regards,
Atri
l'apprenant
From | Date | Subject | |
---|---|---|---|
Next Message | Boszormenyi Zoltan | 2012-07-13 13:45:10 | Re: [PATCH] lock_timeout and common SIGALRM framework |
Previous Message | Andrew Dunstan | 2012-07-13 13:33:02 | Re: Regarding installation of FDW on Windows |