Opened 7 years ago
Last modified 3 months ago
#55351 new enhancement
Build libgccjit library as part of GCC port(s) or as separate port(s).
Reported by: | kstephens (Kurt Stephens) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | dsedivec, mascguy (Christopher Nielsen), michaelld (Michael Dickens), cjones051073 (Chris Jones), thynus | |
Port: | libgcc, libgcc-devel |
Description
libgccjit is a JIT API for embedding GCC compiler in a runtime.
It's an alternative to LLVM and libjit.
libccjit has been part of GCC trunk since GCC 5.
Building appears to be straightforward; ./configure options are documented in the references.
References:
Change History (9)
comment:1 Changed 7 years ago by mf2k (Frank Schima)
Keywords: | gcc libgccjit removed |
---|
comment:2 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Port: | libgcc libgcc-devel added; gcc removed |
---|
comment:3 Changed 7 years ago by kstephens (Kurt Stephens)
If it's in trunk, is that good enough for libcc-devel? The caveat emptor is documented. Are there other GCC backends in trunk that are explicitly excluded? Maybe these are good reasons for a separate port dependent on the libgcc-devel port?
comment:4 Changed 4 years ago by dsedivec
Should this be closed? It looks like (at least) gcc10 now includes libgccjit. See also #61130.
comment:5 Changed 4 years ago by dsedivec
Cc: | dsedivec added |
---|
comment:6 Changed 4 years ago by wyuenho (Jimmy Yuen Ho Wong)
No it shouldn't be closed. Emacs has just merged the native compilation branch into master, it would be nice if it could only depend a libgccjit port instead of the entirety of gcc and its dependencies.
comment:7 Changed 4 years ago by pmetzger (Perry E. Metzger)
I'm not sure you can build gccemacs with just libgccjit and not the rest of gcc. Can you?
comment:8 Changed 2 years ago by mascguy (Christopher Nielsen)
Cc: | mascguy michaelld cjones051073 added |
---|
Adding Michael and Chris to the mix.
comment:9 Changed 3 months ago by thynus
Cc: | thynus added |
---|
Presumably we'd add these to the libgcc and libgcc-devel ports?
I see that docs say: