Building for 64-bit platform

From: Igor Korot <ikorot01(at)gmail(dot)com>
To: "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Building for 64-bit platform
Date: 2020-11-08 06:07:12
Message-ID: CA+FnnTxJzV9YM-9djtY2zdyCSgmNiD-JLyu8cexM1fW6kV7MaA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,
I build libpq with the standard configure/dmake.
Now I realize I need t build it for a 64-bit platform.

My questions are:
Is it enough to ust do

[code]
cd libpq
CFLAGS="-m64" LDFLAGS="-m64" ./configure
dmake
[/code]

or I have to do:

[code]
dmake clean
[/code]

?

2. Is my configure line above correct?
Or PostgreSQL configure contains special flags for 64 bit builds already?

Thank you.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2020-11-08 06:15:22 Re: Building for 64-bit platform
Previous Message Adrian Klaver 2020-11-07 20:51:29 Re: Foreign Data Wrapper Handler