Error while Compiling GNU-C 10.3.0 ....

Jonathan Wakely jwakely.gcc@gmail.com
Wed Jun 9 09:54:26 GMT 2021


On Tue, 8 Jun 2021 at 17:14, Zhéxué M. @SysAdmin
<sys.admin@zhéxué-cloud.eu> wrote:
>
> > Hello together,
> >
> > I had a problem if I want to Compile the GNU-C Compiler on my ARM - System (SingleBoard System with DEBIAN BullEyes installed)....
> > Í've got the following error Message:
> >
> > In file included from ../.././libgcc/../gcc/tsystem.h:87,
> > from ../.././libgcc/libgcc2.c:27:
> > /usr/include/stdio.h:27:10: fatal error: bits/libc-header-start.h: No such file or directory
> > 27 | #include <bits/libc-header-start.h>
> > | ^~~~~~~~~~~~~~~~~~~~~~~~~~
> > compilation terminated.
> > make[3]: *** [Makefile:501: _muldi3.o] Error 1
> > make[3]: Leaving directory '/root/tools/software/gcc-10.3.0/armv7l-unknown-linux-gnueabihf/libgcc'
> > make[2]: *** [Makefile:19173: all-stage1-target-libgcc] Error 2
> > make[2]: Leaving directory '/root/tools/software/gcc-10.3.0'
> > make[1]: *** [Makefile:24483: stage1-bubble] Error 2
> > make[1]: Leaving directory '/root/tools/software/gcc-10.3.0'
> > make: *** [Makefile:999: all] Error 2
> >
> > But this file is there.

Where?

If it was where GCC is looking, you wouldn't get the error. So it isn't there.

You might have that file for some other architecture, but you need it
for the armv7l-unknown-linux-gnueabihf target, which might be under
something like /usr/armv7-gnueabihf/include on your system.


More information about the Gcc-help mailing list