Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
When I try to build i686-elf-gcc (gcc-11.2.0, binutils-2.3.7), I get this error:
checking for suffix of object files... configure: error: in `/tmp/src/gcc-build/i686-elf/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details
make: *** [Makefile configure-target-libgcc] Error 1
when I run the "make all-target-libgcc" command
Does anyone know what I have done wrong/how to fix this problem?
solarmist wrote:When I try to build i686-elf-gcc (gcc-11.2.0, binutils-2.3.7), I get this error:
checking for suffix of object files... configure: error: in `/tmp/src/gcc-build/i686-elf/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details
make: *** [Makefile configure-target-libgcc] Error 1
when I run the "make all-target-libgcc" command
Does anyone know what I have done wrong/how to fix this problem?
I had this exact problem, and it infuriated me for months, because the config.log didn't really indicate what was wrong.
I finally resolved the issue by configuring, compiling *and* installing binutils before configuring gcc, whereas before, I was configuring binutils, then configuring gcc, then compiling/installing binutils before finally compiling/installing gcc.