The new libgccjit Homebrew formula negates the need to install a custom
patched gcc formula from source to get libgccjit.
As it's a separate formula, the file structure is a bit different
though, requiring some changes to the script. This means it is no longer
compatible libgccjit from the custom gcc formula. If you already have
the custom patched gcc formula installed, you can replace it with the
standard gcc formula by running:
brew reinstall gcc
In theory though, it should work even with the patched gcc formula, as
long as libgccjit is installed too. But it will probably produce a
Emacs.app that's around 35MB larger than it needs to, thanks to
duplicating the libgccjit.so.0.0.1 file within the final application.
BREAKING CHANGE: Standard Homewbrew gcc and libgccjit formula are now required for native-comp, instead of the custom patched gcc formula.
The new libgccjit Homebrew formula negates the need to install a custom patched gcc formula from source to get libgccjit.
As it's a separate formula, the file structure is a bit different though, requiring some changes to the script. This means it is no longer compatible libgccjit from the custom gcc formula. If you already have the custom patched gcc formula installed, you can replace it with the standard gcc formula by running:
In theory though, it should work even with the patched gcc formula, as long as libgccjit is installed too. But it will probably produce a Emacs.app that's around 35MB larger than it needs to, thanks to duplicating the libgccjit.so.0.0.1 file within the final application.
BREAKING CHANGE: Standard Homewbrew
gcc
andlibgccjit
formula are now required for native-comp, instead of the custom patched gcc formula.