help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs uses "global" compiler instead of embedded


From: Eli Zaretskii
Subject: Re: Emacs uses "global" compiler instead of embedded
Date: Thu, 29 Sep 2022 09:21:22 +0300

> Date: Wed, 28 Sep 2022 23:13:23 -0400
> From:  Stefan Monnier via Users list for the GNU Emacs text editor 
> <help-gnu-emacs@gnu.org>
> 
> > I am just starting my adventure with emacs, and I have already encountered
> > a rather unusual problem. As a beginner, I chose the easier option and
> > installed everything from the package (emacs-28.2-installer.exe). After
> > starting the editor, it turned out that the logs contain a lot of warnings
> > (errors?) caused by using the wrong compiler. I mean, emacs uses the
> > "global" gcc (along with the libraries) which I have in the PATH
> > environment variable, instead of which it has in the embedded package (the
> > /bin subdirectory). Interestingly, I have libgccjit-0.dll in the global
> > directory, but it doesn't seem to work properly.
> >
> > Warning (comp): c: /tools/emacs/share/emacs/28.2/lisp/org/org-entities.el:
> > Error: Internal native compiler error failed to compile
> > Warning (comp): C: \\ ProgramData \\ chocolatey \\ lib \\ mingw \\ tools \\
> > install \\ mingw64 \\ bin \\ libgccjit-0.dll: error: error invoking gcc
> > driver
> 
> Regardless of the workaround you will hopefully find here, I'd urge you
> to `M-x report-emacs-bug` to try and make sure the problem gets fixed in
> future releases.

How can we possibly solve a problem caused by mis-configuration of the
user's system?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]