Forum: ARM programming with GCC/GNU tools GNU tool chain building error in newlib

Author: Krishna Prasath (prasath)
Posted on:

Rate this post
0 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
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
make[7]: *** [all-recursive] Error 1
make[7]: Leaving directory
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory
make[5]: *** [all] Error 2
make[5]: Leaving directory
make[4]: *** [multi-do] Error 1
make[4]: Leaving directory
make[3]: *** [all-multi] Error 2
make[3]: Leaving directory
make[2]: *** [all] Error 2
make[2]: Leaving directory
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.


Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.