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: Sun, 25 Dec 2022 10:29:19 +0200 Message-ID: <837cyf51k0.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> <835ye06ex7.fsf@gnu.org> <87sfh424ya.fsf@telefonica.net> <83y1qw4x8w.fsf@gnu.org> <87o7rs22yn.fsf@telefonica.net> <83v8m04un9.fsf@gnu.org> <87cz8820hx.fsf@telefonica.net> <83sfh44t2t.fsf@gnu.org> <878riw1y70.fsf@telefonica.net> <83pmc84qs3.fsf@gnu.org> <87zgbczl3g.fsf@telefonica.net> <83lemw4nz1.fsf@gnu.org> <87wn6gxkrp.fsf@telefonica.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19851"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: =?iso-8859-1?Q?=D3scar?= Fuentes Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Dec 25 09:29:44 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 1p9MO7-00050T-TM for ged-emacs-devel@m.gmane-mx.org; Sun, 25 Dec 2022 09:29:44 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p9MNm-00015J-Ah; Sun, 25 Dec 2022 03:29:22 -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 1p9MNk-000155-QL for emacs-devel@gnu.org; Sun, 25 Dec 2022 03:29:20 -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 1p9MNj-000845-M4; Sun, 25 Dec 2022 03:29:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=MAydkXuh9VwXpqCP0I/jcVrXgNWnK6yfUjF1RZFhSms=; b=G0F4uEnmPL4rtB1zar6M 0zrQPYjlMxJLVzO9EdBtuJ3sFZI1y/wWvpid8j/vopAIt8fTgz6Bx8a+jg2Hnca1QJHeV9qSe3u6u jj1j99R5dAFijyRKBh2yIzWWxPYNkELNbgoKCrtUwto8BZ7zsnVH+AIO7+Y51a6tvBabkMYRUQrby Bhbw9RhbGV45d1tNTYAz7vFimQLKt+6SUmzWYUiLv7B9yqq/B0hkpvd9HeceZ5LmS5QCNANeNqlEV +FGlgR7bLX2UtcdsHPU0HiQwAVSHCmV9Pi51OU3haGRnsr7KcBd0AcgLtyPbKTUpbir8/DkAMqsVk xe6xBFG2JDOHNg==; 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 1p9MNj-0000ww-5h; Sun, 25 Dec 2022 03:29:19 -0500 In-Reply-To: <87wn6gxkrp.fsf@telefonica.net> (message from =?iso-8859-1?Q?=D3scar?= Fuentes on Sun, 25 Dec 2022 03:46:50 +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:301903 Archived-At: > From: Óscar Fuentes > Cc: emacs-devel@gnu.org > Date: Sun, 25 Dec 2022 03:46:50 +0100 > > Eli Zaretskii writes: > > > Fixes for stale and outdated URLs will be appreciated. > > I fixed the URLs and simplified the instructions a bit. Thanks. (Please in the future make sure to leave two spaces between sentences.) This part is unclear: ** Download and install MinGW-w64 and MSYS2 Go to https://msys2.org and follow the instructions. It is not necessary to install the packages suggested on those instructions. What does the last sentence mean? which packages are unnecessary? Some of them, all of them? Also, it looks like msys2.org tells users to install the UCRT64 variety of MinGW, whereas you said earlier that INSTALL.W64 points to the MSVCRT variety. Should we say something about this in the Download and Install sections? > Some problems remain: > > * There are references to past emacs versions. I fixed that, but I honestly don't see how this is important. They are just examples. > * The instructions for getting Emacs' sources via git create a versioned > emacs directory when in fact the user is checking out master. Fixed. > * The instructions for building from the tarball are mixed with the > instructions for building from git. They use different names for the > root source directory and there are expressions that might confuse the > unexperienced user (there is a mention to "development sources" where > those are previously referred as "the Git repository.") Fixed. > * The --prefix parameter passed to `configure' will cause Emacs to be > installed in the source directory. Fixed > * libgccjit is missing on the list of dependencies. Please tell how to modify the pacman command to add libgccjit. > * ...probably more... Feel free to fix. I don't use MinGW64, so I cannot do that myself. > >> In general, I don't know why we (Emacs) make the effort of providing so > >> much guidance for building under MSYS2 when no similar level of detail > >> is provided for Debian, Fedora, Cygwin, etc. > > > > The Windows users typically need to do more to arrange for a working > > build environment than users on Posix hosts. > > By large, the worst part of building Emacs is to figure out the packages > you need to install. That's equally difficult for most GNU/Linux > distributions as for MSYS2. If by "packages" you mean the optional libraries, I agree to a point. But what I meant was the development and build environment, which includes GCC/Binutils, MSYS with all the related tools, Git, etc. This comes OOTB on Posix hosts, but not on Windows. Most problems people have building Emacs on Windows are due to their environment being incomplete or misconfigured, especially since the tools are not native Windows tools, and some need a certain state of mind that Windows users might lack.