From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: MinGW build on master fails with Error 127 Date: Sat, 24 Dec 2022 16:43:00 +0200 Message-ID: <835ye06ex7.fsf@gnu.org> References: <83wn6wr5oz.fsf@gnu.org> <0c9519c9-add7-9fb1-ac7f-2f20e1916d65@bluewin.ch> <83tu20r4y7.fsf@gnu.org> <01b7362d-7d60-3054-5590-d4dbbcda76d7@bluewin.ch> <83r0x4r490.fsf@gnu.org> <837cyh71ft.fsf@gnu.org> <832966a5-bd27-76f9-4757-a8c246eca416@bluewin.ch> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15403"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Loreno Heer Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Dec 24 15:43:24 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p95kB-0003qG-IY for ged-emacs-devel@m.gmane-mx.org; Sat, 24 Dec 2022 15:43:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p95jw-00047Z-Lx; Sat, 24 Dec 2022 09:43:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p95js-00047D-7V for emacs-devel@gnu.org; Sat, 24 Dec 2022 09:43:04 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p95jp-0002oD-L1; Sat, 24 Dec 2022 09:43:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=duYjmxO5vwyc73tu/ANO9+6ZapB7Eplbih9In+YYlaE=; b=Iocs+OHBwcSw B8k5ROTfMS/XoJ6Dxk0D3D8eOtUeG+Fad9aAJ+dew46WTvlz6Z0FKmB5X/oRy0OqOO2bmSh/aOROo hWi9Tj1jtpjeP5hwI8P+iOSuULDS6lQKAankBDW3yxhoWV3Nxo6T310oyBphg52huGzqza0OQf+4A JrCN2+4N0gAOscQqNHQrAeXmQDILJPVRHFFX/kKGEPaiR1Vy5N3wzjo/1uYsafZeUECIbtsS2GFRq x8tEocSOLF4Nj3U65ME1ILYLYbjIqqwFAMaQAaEZxJ7zmzZcOO/Kyme7UyLLW3cciO/AiQWYzvlUZ nInRs/v2jVwTHDh2pCNXHg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p95jo-0006OM-Sj; Sat, 24 Dec 2022 09:43:01 -0500 In-Reply-To: <832966a5-bd27-76f9-4757-a8c246eca416@bluewin.ch> (message from Loreno Heer on Sat, 24 Dec 2022 15:18:02 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:301845 Archived-At: > Date: Sat, 24 Dec 2022 15:18:02 +0100 > Cc: emacs-devel@gnu.org > From: Loreno Heer > > I did and if I understand it correctly they basically say that they did > some change but it is now up to emacs to change the build behavior: > > https://github.com/msys2/MINGW-packages/issues/14573#issuecomment-1364532147 Are you building Emacs on Windows 7? If yes, I understand what they are saying: that MinGW64 no longer supports Windows 7. If you build on a later version of Windows, then I don't understand what they are saying: As examples mentioned on #14452 illustrate, a package can support Win7 fine but if we say to its build system that we target >Win7 the resulting binary may be incompatible with Win7. This means in practice that Emacs (or any other software) can't rely on using our packages as runtime dependencies for supporting Win7. Emacs will support MS-Windows versions as old as Windows 9X, as long as the MinGW headers and runtime support those versions. If your MinGW supports only Windows versions newer than some version N, then Emacs cannot magically overcome this limitation, and will also support only versions of Windows newer than N.