all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Óscar Fuentes" <ofv@wanadoo.es>
Cc: emacs-devel@gnu.org
Subject: Re: MinGW build on master fails with Error 127
Date: Sun, 25 Dec 2022 10:29:19 +0200	[thread overview]
Message-ID: <837cyf51k0.fsf@gnu.org> (raw)
In-Reply-To: <87wn6gxkrp.fsf@telefonica.net> (message from Óscar Fuentes on Sun, 25 Dec 2022 03:46:50 +0100)

> From: Óscar Fuentes <ofv@wanadoo.es>
> Cc: emacs-devel@gnu.org
> Date: Sun, 25 Dec 2022 03:46:50 +0100
> 
> Eli Zaretskii <eliz@gnu.org> 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.



  reply	other threads:[~2022-12-25  8:29 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-12 15:26 MinGW build on master fails with Error 127 Loreno Heer
2022-12-12 15:40 ` Eli Zaretskii
2022-12-12 15:44   ` Loreno Heer
2022-12-12 15:56     ` Eli Zaretskii
2022-12-12 16:03       ` Loreno Heer
2022-12-12 16:11         ` Eli Zaretskii
2022-12-12 16:54           ` Loreno Heer
2022-12-23 21:45           ` Loreno Heer
2022-12-24  6:36             ` Eli Zaretskii
2022-12-24 14:18               ` Loreno Heer
2022-12-24 14:43                 ` Eli Zaretskii
2022-12-24 15:11                   ` Loreno Heer
2022-12-24 15:44                     ` Eli Zaretskii
2022-12-24 22:50                       ` Loreno Heer
2022-12-24 15:31                   ` Óscar Fuentes
2022-12-24 15:50                     ` Eli Zaretskii
2022-12-24 16:14                       ` Óscar Fuentes
2022-12-24 16:46                         ` Eli Zaretskii
2022-12-24 16:58                           ` Óscar Fuentes
2022-12-24 17:08                           ` Óscar Fuentes
2022-12-24 17:20                             ` Eli Zaretskii
2022-12-24 17:57                               ` Óscar Fuentes
2022-12-24 18:09                                 ` Eli Zaretskii
2022-12-24 18:56                                   ` Óscar Fuentes
2022-12-24 19:10                                     ` Eli Zaretskii
2022-12-25  2:46                                       ` Óscar Fuentes
2022-12-25  8:29                                         ` Eli Zaretskii [this message]
2022-12-25 14:25                                           ` Óscar Fuentes
2022-12-26 13:02                                             ` Eli Zaretskii
2022-12-26 13:33                                               ` Óscar Fuentes
2022-12-24 19:19                                     ` Óscar Fuentes
2022-12-24 19:27                                       ` Eli Zaretskii
2022-12-25  0:13                                 ` Po Lu
2022-12-25  0:48                                   ` Óscar Fuentes
2022-12-25  6:46                                   ` Eli Zaretskii
2022-12-24 18:03                               ` Óscar Fuentes
2022-12-24 18:49                         ` Eli Zaretskii
2022-12-24 19:23                           ` Óscar Fuentes
2022-12-24 19:29                             ` Eli Zaretskii
2022-12-24 19:44                               ` Óscar Fuentes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=837cyf51k0.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=ofv@wanadoo.es \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.