|
From: | Daniel Fleischer |
Subject: | Re: Help with native compilation |
Date: | Tue, 19 Oct 2021 22:24:49 +0300 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (darwin) |
Jonathon McKitrick [2021-10-19 Tue 10:59] wrote: > I'm trying to build emacs 28 or 29 with native compilation on macos. >From "etc/PROBLEMS" in the Emacs project: Native complitation requires the libgccjit library to be installed and its path available to Emacs. Errors such as: libgccjit.so: error: error invoking gcc driver Error: Internal native compiler error failed to compile indicate Emacs can't find the library in running time. One can set the "LIBRARY_PATH" environment variable in the early initialization file; for example: (setenv "LIBRARY_PATH" (string-join '("/usr/local/opt/gcc/lib/gcc/11" "/usr/local/opt/libgccjit/lib/gcc/11" "/usr/local/opt/gcc/lib/gcc/11/gcc/x86_64-apple-darwin20/11.2.0") ":")) You might need to adjust the version numbers. -- Daniel Fleischer
[Prev in Thread] | Current Thread | [Next in Thread] |