From 34c372847d46e5df12e108515838c59b7bf82da9 Mon Sep 17 00:00:00 2001 From: Daniel Fleischer Date: Sun, 19 Sep 2021 00:17:49 +0300 Subject: [PATCH] Native compilation on macOS: libgccjit in path * etc/PROBLEMS: libgccjit should be in LIBRARY_PATH; example code for early initialization. --- etc/PROBLEMS | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/etc/PROBLEMS b/etc/PROBLEMS index f90418798d..1fd88995d6 100644 --- a/etc/PROBLEMS +++ b/etc/PROBLEMS @@ -2671,6 +2671,18 @@ something like the following in your init file: (push "\\`-[^-]*-monaco-bold-" face-ignored-fonts) +** Native Compilation on macOS + +Native complitation requires the libgccjit library to be installed and +its path available to Emacs. One can set the "LIBRARY_PATH" +environment variable in the early initalization 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") ":")) + * Build-time problems ** Configuration -- 2.33.0