GNU bug report logs - #48804
27.2; compilation emacs on macOS

Previous Next

Package: emacs;

Reported by: Niels Søndergaard <nisoni <at> algon.dk>

Date: Thu, 3 Jun 2021 05:56:01 UTC

Severity: normal

Found in version 27.2

Done: Andrea Corallo <akrl <at> sdf.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Alan Third <alan <at> idiocy.org>
To: Konrad Podczeck <konrad.podczeck <at> univie.ac.at>
Cc: nisoni <at> algon.dk, 48804 <at> debbugs.gnu.org
Subject: bug#48804: 27.2; compilation emacs on macOS
Date: Thu, 3 Jun 2021 22:34:44 +0100
On Thu, Jun 03, 2021 at 10:22:17AM +0200, Konrad Podczeck wrote:
> Hi Nils,
> 
> in addition to libgccjit, you need to install gcc-11, and to insert somethin like the following into your .bash_profile
> 
> export CC="/usr/local/Cellar/gcc/11.1.0/bin/gcc-11”
> 
> (assuming you use homebrew to install additional unix tools).

FYI GCC is unable to build GUI emacs on macOS (or at least the native
GUI). And there's no requirement to build Emacs with GCC for native
compilation to work, as long as libgccjit was installed with Homebrew,
Emacs configure should be able to find it.
-- 
Alan Third




This bug report was last modified 3 years and 357 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.