[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Emacs uses "global" compiler instead of embedded
From: |
Bartosz Bubak |
Subject: |
Emacs uses "global" compiler instead of embedded |
Date: |
Wed, 28 Sep 2022 22:22:19 +0200 |
Hi,
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
Is it possible to somehow configure emacs to only use embedded libraries?
So far, the only workaround I have found is uninstalling the entire MinGW
or removing it from the system PATH. After MinGW is removed, everything
works fine as emacs and all the add-ons I downloaded.
P.S. Emacs 28.2 on Windows 11, as "global" mingw-64
--
Best regards
Bart Bubak
- Emacs uses "global" compiler instead of embedded,
Bartosz Bubak <=
- Re: Emacs uses "global" compiler instead of embedded, Stefan Monnier, 2022/09/28
- Re: Emacs uses "global" compiler instead of embedded, Eli Zaretskii, 2022/09/29
- Re: Emacs uses "global" compiler instead of embedded, Stefan Monnier, 2022/09/29
- Re: Emacs uses "global" compiler instead of embedded, Bartosz Bubak, 2022/09/29
- Re: Emacs uses "global" compiler instead of embedded, Eli Zaretskii, 2022/09/29
- Re: Emacs uses "global" compiler instead of embedded, Bartosz Bubak, 2022/09/30
- Re: Emacs uses "global" compiler instead of embedded, Eli Zaretskii, 2022/09/30
Re: Emacs uses "global" compiler instead of embedded, Eli Zaretskii, 2022/09/29