Re: problem with compiling beta3 on mingw32+WinXP

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pasman pasmański <pasman(dot)p(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: problem with compiling beta3 on mingw32+WinXP
Date: 2011-07-25 19:18:11
Message-ID: 4E2DC173.3050003@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 07/25/2011 02:56 PM, pasman pasmański wrote:
> After googling i found that mingw's gcc works with 64 bit integers.
> But printf is incompatible :( . Possible workaround: include
> inttypes.h , define macros and convert printf strings:
>
> printf("%" LL,(long long)10000000000)

Postgres builds under mingw and runs perfectly well on 32 bit Windows
XP. See
<http://www.pgbuildfarm.org/cgi-bin/show_log.pl?nm=frogmouth&dt=2011-07-25%2006%3A30%3A01>
for example.

(Also, please avoid top-posting).

cheers

andrew

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2011-07-25 20:07:14 write scalability
Previous Message Florian Pflug 2011-07-25 19:06:41 Re: Another issue with invalid XML values