public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* problems building mipsel-none-elf gcc libgcc
@ 2020-07-07 11:20 Wojciech Puchar
  0 siblings, 0 replies; only message in thread
From: Wojciech Puchar @ 2020-07-07 11:20 UTC (permalink / raw)
  To: gcc-help

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-07-07 11:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-07 11:20 problems building mipsel-none-elf gcc libgcc Wojciech Puchar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).