Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKmIm-0000RG-CY for pgsql-odbc@arkaria.postgresql.org; Wed, 06 Jul 2016 12:51:40 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bKmIl-0001Aq-LD for pgsql-odbc@arkaria.postgresql.org; Wed, 06 Jul 2016 12:51:39 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bKmIl-0001Aa-2N for pgsql-odbc@postgresql.org; Wed, 06 Jul 2016 12:51:39 +0000 Received: from mail1.asahi-net.or.jp ([202.224.39.197]) by makus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKmIi-0004b5-CU for pgsql-odbc@postgresql.org; Wed, 06 Jul 2016 12:51:37 +0000 Received: from [192.168.1.3] (h216215.dynamic.ppp.asahi-net.or.jp [61.114.216.215]) by mail1.asahi-net.or.jp (Postfix) with ESMTP id 1FD7218DF6; Wed, 6 Jul 2016 21:51:30 +0900 (JST) Subject: Re: Build broken with nmake since ea74e47 To: Michael Paquier References: <5777A2EF.2070901@dream.email.ne.jp> Cc: PostgreSQL mailing lists From: "Inoue, Hiroshi" Message-ID: <577CFED3.1090002@dream.email.ne.jp> Date: Wed, 6 Jul 2016 21:51:31 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <5777A2EF.2070901@dream.email.ne.jp> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org Hi Michael, On 2016/07/02 20:18, Inoue, Hiroshi wrote: > Hi Michael, > > On 2016/07/01 13:27, Michael Paquier wrote: >> On Thu, Jun 30, 2016 at 12:45 AM, Michael Paquier >> wrote: >>> Hi, >>> >>> Since commit ea74e47, the build with nmake is broken: >>> NMAKE : fatal error U1073: don't know how to make >>> 'exe\connect-test.exe' >>> I have yet to diagnose what is wrong here, but a guess is that win.mak >>> is missing a trick. >> After spending some time on that, I can reproduce the problem, but I >> have little idea how to properly link each exe and src file with >> common.obj at the same time using this nmake Makefile. ea74e47 has >> really introduced a broken concept in win.mak, and I am sure that this >> has not been tested. Could it be possible to get back to the prior >> behavior for just nmake? For example the patch attached does the job >> for me again. > > Oops my mistake. > The commit was irrelevant to Windows.. > I would put back the change. > Thanks. After looking at regression test on Windows, I'm inclined to go forward rather than putting back win.mak, i.e. build obj and exe in exe directory. I don't want to put them in src directory because I specified src directory as EXTRA_DIST. I would also use fc command instead of diff command on Windows. regards, Hiroshi Inoue -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc