what GCC 16 configure options is enabling libgccjit (and installing libgccjit.h)

Basile STARYNKEVITCH <[email protected]> Thu, 21 May 2026 11:19:39 +0200
Newsgroups gmane.comp.gcc.help
Message-ID <[email protected]>
Hello all,

I am often rebuilding GCC 16 (eg 16.1 or a recent snapshot) on
Linux/Debian/x86-64 (testing or sid) and occasionally on Raspberry

Of course source tree (eg /usr/src/Lang/gcc16snap ..) is different of
build tree (eg /usr/src/Lang/_BuildGCC16)=20

What is the configure option to get libgccjit.h and libgccjit.so
installed ?

I am using (probably incorrectly on AMD64 desktop)

/usr/src/Lang/gcc16snap/configure --disable-multilib \
   --program-suffix=3D-16 --enable-plugins 'CFLAGS=3D-O2 -g' \
   --enable-shared --enable-plugin --enable-default-pie \
   --with-tune=3Dnative --enable-checking=3Drelease \
   --build=3Dx86_64-linux-gnu --host=3Dx86_64-linux-gnu \
   --target=3Dx86_64-linux-gnu --enable-gnu-unique-object \
   --enable-threads=3Dposix --with-default-libstdcxx-abi=3Dnew \
   --enable-jit --enable-lto --enable-host-shared \
   --enable-shared --enable-linker-build-id \
   --with-gcc-major-version-only --program-suffix=3D-16


what is wrong above?


Thanks

--=20

Basile STARYNKEVITCH                          =20
<[email protected]>
8 rue de la Fa=C3=AFencerie                     =20
http://starynkevitch.net/Basile/ =20
92340 Bourg-la-Reine                       =20
https://github.com/bstarynk
France                              =20
https://github.com/RefPerSys/RefPerSys
                  https://orcid.org/0000-0003-0908-5250