EmbDev.net

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


von Krishna P. (prasath)


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.

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.