Re: MinGW compiled client library

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: MinGW compiled client library
Дата
Msg-id 520AD5E1.6040803@hogranch.com
обсуждение исходный текст
Ответ на Re: MinGW compiled client library  (Michael Cronenworth <mike@cchtml.com>)
Ответы Re: MinGW compiled client library  (Craig Ringer <craig@2ndquadrant.com>)
Список 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



В списке pgsql-general по дате отправления:

Предыдущее
От: Guy Rouillier
Дата:
Сообщение: Re: MinGW compiled client library
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: MinGW compiled client library