Hello, I'm having trouble building libgccjit from source.

I'm following the docs at
https://gcc.gnu.org/onlinedocs/jit/internals/index.html
Running the command from the GCC 14.0.2 source folder (on Arch Linux):

cd build
> ../gcc/configure  \
>     --prefix=/home/username/software/myGcc \
>     --enable-checking=release --enable-languages=jit,c++
> --disable-bootstrap \
>     --program-suffix=my


Firstly, Configure doesn't recognize one of the options:

> configure: WARNING: unrecognized options: --disable-bootstrap

Secondly, Make errors out with

> make: *** No rule to make target
'../build-x86_64-linux-gnu/libiberty/libiberty.a', needed by
'build/genmodes'.  Stop.

Looks like the build instructions are out of date. Could you please share
the commands you use to build libgccjit.so from source successfully?

Reply via email to