for a microcontroller.
configured with
../../orig/gcc-9.3.0/configure --target=$TARGET --prefix=$PREFIX --with-gmp=$TMPB --with-mpfr=$TMPB --with-mpc=$TMPB --disable-werror --disable-nls --with-dwarf2 --without-newlib --disable-threads --disable-libssp --disable-libgomp --disable-libmudflap --without-interwork --enable-languages="c"
gmake all-gcc and install-gcc works fine
gmake all-target-libgcc doesn't work
after some work it exits with error:
Checking multilib configuration for libgcc...
gmake[1]: Wejście do katalogu
'/root/NOBACKUP/gcc/build/gcc/mipsel-none-elf/libgcc'
# If this is the top-level multilib, build all the other
# multilibs.
Mode = sf\|df
Suffix = si\|2\|3
/root/NOBACKUP/gcc/build/gcc/./gcc/xgcc
-B/root/NOBACKUP/gcc/build/gcc/./gcc/
-B/usr/local/mipsel-gcc/mipsel-none-elf/bin/
-B/usr/local/mipsel-gcc/mipsel-none-elf/lib/ -isystem
/usr/local/mipsel-gcc/mipsel-none-elf/include -isystem
/usr/local/mipsel-gcc/mipsel-none-elf/sys-include -g -O2 -O2 -g -O2
-DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wno-narrowing
-Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -isystem ./include -G 0 -g -DIN_LIBGCC2
-fbuilding-libgcc -fno-stack-protector -Dinhibit_libc -G 0 -I. -I.
-I../.././gcc -I../../../../orig/gcc-9.3.0/libgcc
-I../../../../orig/gcc-9.3.0/libgcc/.
-I../../../../orig/gcc-9.3.0/libgcc/../gcc
-I../../../../orig/gcc-9.3.0/libgcc/../include -DHAVE_CC_TLS -o addsf3.o
-MT addsf3.o -MD -MP -MF addsf3.dep addsf3 -c
../../../../orig/gcc-9.3.0/libgcc/config/hardfp.c -fvisibility=hidden
-DHIDE_EXPORTS -Wno-missing-prototypes
xgcc: error: addsf3: No such file or directory
gmake[1]: *** [../../../../orig/gcc-9.3.0/libgcc/config/t-hardfp:82:
addsf3.o] Błąd 1
gmake[1]: Opuszczenie katalogu
'/root/NOBACKUP/gcc/build/gcc/mipsel-none-elf/libgcc'
gmake: *** [Makefile:11568: all-target-libgcc] Błąd 2
how to fix it.
i can write a working program for a microcontroler with this gcc but until
i will not do something more complex that needs libgcc
please help