Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kbdzB-00061W-AM for pgsql-general@arkaria.postgresql.org; Sun, 08 Nov 2020 06:15:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kbdz9-0000qF-33 for pgsql-general@arkaria.postgresql.org; Sun, 08 Nov 2020 06:15:31 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kbdz8-0000q8-RQ for pgsql-general@lists.postgresql.org; Sun, 08 Nov 2020 06:15:30 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kbdz3-0003dq-AH for pgsql-general@lists.postgresql.org; Sun, 08 Nov 2020 06:15:30 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 0A86FMJC1783978; Sun, 8 Nov 2020 01:15:22 -0500 From: Tom Lane To: Igor Korot cc: "pgsql-generallists.postgresql.org" Subject: Re: Building for 64-bit platform In-reply-to: References: Comments: In-reply-to Igor Korot message dated "Sun, 08 Nov 2020 00:07:12 -0600" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1783976.1604816122.1@sss.pgh.pa.us> Date: Sun, 08 Nov 2020 01:15:22 -0500 Message-ID: <1783977.1604816122@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Igor Korot writes: > 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 Do "make distclean" at the top level, then re-configure with the new options and re-make. Maybe you can get away with a partial rebuild, but there is no way that it's worth your time to experiment. On any machine built in the last two decades, you could have already finished a full rebuild in the time it took me to type this. On the other hand, if you do a partial rebuild and it turns out to be broken, you could waste many hours figuring that out. regards, tom lane