GNU tool chain building error in newlib

OP #1174286
Rate this post
• ▲ useful
▼ not useful
Iam a newbie in GNU tool chain. i have succesfully built my
binutils-2.18. and gcc-core-4.2.2 using the script 01-build-binutils.sh
and 02-build-bootgcc.sh. But when i run 03-build-newlib.sh it gives me
the following error

arm-elf-ar rc ../libc.a *.o
../sys/lib.a: No such file or directory
C:\msys\1.0\home\Administrator\install\bin\arm-elf-ar.exe:
arm-elf-ranlib libc.a
rm -rf tmp
rm -f crt0.o
ln sys/crt0.o crt0.o >/dev/null 2>/dev/null || cp sys/crt0.o crt0.o
cp: cannot stat `sys/crt0.o': No such file or directory
make[8]: *** [crt0.o] Error 1
make[8]: Leaving directory
`/home/Administrator/newlib-build/arm-elf/be/fpu/inte
rwork/newlib/libc'
make[7]: *** [all-recursive] Error 1
make[7]: Leaving directory
`/home/Administrator/newlib-build/arm-elf/be/fpu/inte
rwork/newlib/libc'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory
`/home/Administrator/newlib-build/arm-elf/be/fpu/inte
rwork/newlib'
make[5]: *** [all] Error 2
make[5]: Leaving directory
`/home/Administrator/newlib-build/arm-elf/be/fpu/inte
rwork/newlib'
make[4]: *** [multi-do] Error 1
make[4]: Leaving directory
`/home/Administrator/newlib-build/arm-elf/newlib'
make[3]: *** [all-multi] Error 2
make[3]: Leaving directory
`/home/Administrator/newlib-build/arm-elf/newlib'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/Administrator/newlib-build/arm-elf/newlib'
make[1]: *** [all-target-newlib] Error 2
make[1]: Leaving directory `/home/Administrator/newlib-build'
make: *** [all] Error 2
Error building newlib


so anyone please help me to sort out this error.

Reply

A question of your own? This thread is over 18 years old. Ask it in a thread of its own – more people read along there, and it gets answered more often and sooner.

Start a new thread

A fix, an addition or feedback on this thread? Then reply here.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.