I'm on manjaro linux attempting to set up a crosscompiler using this tutorial and I have binutils set up, but when I go to do ../gcc-10.2.0/configure (etc.) I get this:
checking host system type... x86_64-pc-linux-gnu
checking target system type... i686-pc-elf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for gawk... gawk
checking for libatomic support... no
checking for libitm support... no
checking for libsanitizer support... no
checking for libvtv support... no
checking for libhsail-rt support... no
checking for libphobos support... no
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/home/morticia/src/build-gcc':
configure: error: C compiler cannot create executables
See `config.log' for more details
Seeming Error: Fatal error: no compiled in support for x86_64
gcc -dumpmachineshould show you the target arch of the compiler