GCC fails to run with following error: gcc: fatal error: cannot execute 'cc1': execvp: No such file or directory Above error goes away when setting environment GCC_EXEC_PREFIX or using option -B to the path where `cc1` was installed. GCC was configured as follow: configure --target=pu32-elf --host=pu32-elf --prefix=/opt/toolchain --libexecdir=/opt/toolchain/lib --without-headers --disable-libssp --disable-multilib --disable-gcov --disable-lto --enable-libatomic --enable-languages=c,c++ --disable-nls --disable-doc --disable-docs --disable-documentation Any idea why the correct prefix where to find `cc1` is not built inside GCC ? Complete change implementing target pu32 can be found at: https://github.com/fontamsoc/gcc/commit/5a661b4