Re: MinGW compiled client library

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: MinGW compiled client library
Date: 2013-08-14 00:57:05
Message-ID: 520AD5E1.6040803@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 8/13/2013 2:25 PM, Michael Cronenworth wrote:
> On 08/13/2013 01:40 PM, John R Pierce wrote:
>> >They use Microsoft Visual C (I forget the exact version, but I believe most
>> >recent versions are supported, including the "Express" versions).
> Then MinGW should be capable of producing the same binaries.
>
> I've tried early gcc 4.7 and the latest gcc 4.8, but neither produce anything
> that works.

no. GCC uses a totally different libc in its generated code. that alone
ensures its binaries are not directly comparable. linking code with
incompatible libc's is gonna result in some gnarly messes, imagine what
kind of ugly stuff could happen if you used one malloc and another free ?

--
john r pierce 37N 122W
somewhere on the middle of the left coast

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Craig Ringer 2013-08-14 01:23:38 Re: MinGW compiled client library
Previous Message Guy Rouillier 2013-08-14 00:40:52 Re: MinGW compiled client library