0

For installing GccEmacs, I have followed: https://www.emacswiki.org/emacs/GccEmacs

git clone git://git.savannah.gnu.org/emacs.git
cd emacs
./autogen.sh
./configure --with-native-compilation
make -j$(nproc)

which installs: GNU Emacs 28.0.50. As I understand its an experimental / developmental version of Emacs not yet released to the general public.

Instead how can I build GccEmacs for Emacs'sreleased version, I believe for Emacs 27.2?

I have tried it checkout tags/emacs-27.2 , but it gives following error: configure: WARNING: unrecognized options: --with-native-compilation

1
  • 1
    No, I do not think it is possible to run GCCEmacs changes with Emacs 27.2. All the related modifications are in the current main branch. Sep 1, 2021 at 2:04

1 Answer 1

1

You cannot do what you want -- GccEmacs is being developed for Emacs 28.

For installing GccEmacs, I have followed: https://www.emacswiki.org/emacs/GccEmacs which installs: GNU Emacs 28.0.50. As I understand its an experimental / developmental version of Emacs not yet released to the general public.

The native compilation feature is in an equally experimental / developmental state, so even if you could make it work with Emacs 27, you would be acting contrary to your stated motivation for avoiding Emacs 28.

Lots of people use Emacs 28 with native compilation on a daily basis, so "developmental" doesn't mean "crashing constantly"; but you should still assume you'll encounter some issues when using unstable builds.

2
  • I encounter some issues :-( Once in a while emacs's display freezes, C-g does not responds back (I have no idea what causes this but happend when I do page down/up), Ondebug I see: display wait = FOREVER. Whom could I reach for this issue?
    – alper
    Sep 1, 2021 at 9:25
  • M-x report-emacs-bug
    – phils
    Sep 1, 2021 at 9:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.