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: Stefan Monnier
Subject: Re: Emacs uses "global" compiler instead of embedded
Date: Wed, 28 Sep 2022 23:13:23 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

> 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.


        Stefan




reply via email to

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