0

I recently installed gcc compiler MinGW on Windows 11, and haven't been able to run Emacs with my config files.

I tried to disable logging, but they show up again on starting Emacs.

Warning (initialization): An error occurred while loading ‘c:/Users/Saurabh/AppData/Roaming/.emacs.d/init.el’:

Native compiler error: (lambda (arg0 &optional) (let ((f #'yes-or-no-p)) (funcall f arg0))), Compiling c:/Users/Saurabh/AppData/Roaming/.emacs.d/eln-cache/28.2-5a1d5235/subr--trampoline-7965732d6f722d6e6f2d70_yes_or_no_p_0.eln...
Debugger entered--Lisp error: (native-ice "failed to compile" "c:/Users/Saurabh/AppData/Roaming/.emacs.d/e..." "error invoking gcc driver")
  comp--compile-ctxt-to-file("c:/Users/Saurabh/AppData/Roaming/.emacs.d/e...")
  comp-compile-ctxt-to-file("c:/Users/Saurabh/AppData/Roaming/.emacs.d/e...")
  comp-final1()
  load-with-code-conversion("c:/Users/Saurabh/AppData/Local/Temp/emacs-i..." "c:/Users/Saurabh/AppData/Local/Temp/emacs-i..." nil t)
  command-line-1(("-l" "c:/Users/SAURAB~1/AppData/Local/Temp/emacs-int-com..."))
  command-line()
  normal-top-level()



To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file.  Start Emacs with
the ‘--debug-init’ option to view a complete error backtrace. Disable showing Disable logging
Warning (comp): c:/tools/emacs/share/emacs/28.2/lisp/password-cache.el: Error: Internal native compiler error failed to compile Disable showing Disable logging
Warning (comp): c:/tools/emacs/share/emacs/28.2/lisp/net/mailcap.el: Error: Internal native compiler error failed to compile Disable showing Disable logging
Warning (comp): c:/tools/emacs/share/emacs/28.2/lisp/url/url-util.el: Error: Internal native compiler error failed to compile Disable showing Disable logging
Warning (comp): c:/tools/emacs/share/emacs/28.2/lisp/auth-source.el: Error: Internal native compiler error failed to compile Disable showing Disable logging
Warning (comp): c:/tools/emacs/share/emacs/28.2/lisp/calendar/time-date.el: Error: Internal native compiler error failed to compile Disable showing Disable logging

Prior to installing MinGW all my config files loaded correctly.

Is there a way I can disable MinGW for Emacs, or have it working correctly ?

Saurabh
  • 211
  • 1
  • 10

0 Answers0