Where is "libgccjit"?
David Malcolm
dmalcolm@redhat.com
Tue Jul 26 23:00:32 GMT 2022
On Wed, 2022-07-27 at 07:38 +0900, take@kasaneiro.jp wrote:
> To all participants in jit@gnu ml.
>
> My name is Takeo Watanabe and I am sending you a mail from Japan.
>
> I am trying to build native compiled Emacs on macOS.
> I also want to build from source as much as possible, do not use
> Homebrew.
>
> So far, I have completed building libxml2 and gcc12.1.
> I have not been able to find libgccjit either in the archive or in git,
> and I have not been able to find it in the git file.
> I have not been able to find it in archive or git yet.
>
> If anyone knows where I can find it, please let me know.
> Please let me know. Thank you in advance.
libgccjit is part of gcc; it looks like a frontend to the rest of gcc,
named "jit". The code is in the gcc/jit subdirectory of the gcc source
tree.
So you need to configure the build of gcc with:
--enable-languages=jit --enable-host-shared
There are some more notes on building libgccjit here:
https://gcc.gnu.org/onlinedocs/jit/internals/index.html
Hope this is helpful; good luck
Dave
More information about the Jit
mailing list