crt0 in toolchain

Mike Frysinger vapier at gentoo.org
Fri Dec 2 12:58:24 UTC 2005


On Thu, Dec 01, 2005 at 10:23:25PM +0300, ????????? ??????? wrote:
> >> I built my ARM toolchain with binutils-2.16.1, gcc-4.0.2 and uClibc-0.9.28.
> >> Linux kernel 2.6.14 works on target mashine. But linker
> >> searches for crt0.o, when I try to build busybox-1.01. 
> >> There is no such file for ARM arch. 
> >> Only --prefix and --target compiler options were used for cross-gcc building.
> >> Please explain, where my mistake(s) is(are) or refer me to any usefull URL.
> 
> It's OK, if "newlib" was used for cross-gcc building (have found somewhere
> in the Internet):

no, if you want uClibc, you should disable the newlib option when
building gcc

you should look at how buildroot and crosstool setup their cross
compilers and then mimic it
-mike



More information about the uClibc mailing list