emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dependencies for native compiling emacs not found


From: Eli Zaretskii
Subject: Re: Dependencies for native compiling emacs not found
Date: Thu, 23 Dec 2021 21:43:33 +0200

> From: Thierry Volpiatto <thievol@posteo.net>
> Cc: emacs-devel@gnu.org
> Date: Thu, 23 Dec 2021 19:36:38 +0000
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> >> From: Thierry Volpiatto <thievol@posteo.net>
> >> Cc: emacs-devel@gnu.org
> >> Date: Thu, 23 Dec 2021 18:27:08 +0000
> >> 
> >> Ok, installing libgccjit-9-dev like Andreas suggested worked, so IIUC we
> >> need a libgccjit version compatible with the gcc installed
> >> e.g. libgccjit-10 with gcc-10 right?
> >
> > Right.
> 
> Ok, thanks to confirm.

Just FTR: note that "compatible with" in this case doesn't necessarily
mean "of the same GCC version".  For example, people who build on
macOS use Clang for building Emacs, but can still install libgccjit
for native-compilation.

I believe the actual problem in your case was that GCC 9 couldn't find
libgccjit from GCC 10, because it was looking in the wrong
subdirectory of /usr/lib/x86_64-linux-gnu/, since (AFAIU) libgccjit is
installed into a versioned subdirectory of that directory, and GCC
looks for it in the subdirectory that matches its version.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]