crt0 in toolchain

Erik Andersen andersen at codepoet.org
Fri Dec 2 21:32:31 UTC 2005


On Fri Dec 02, 2005 at 06:32:42PM +0100, Thomas Eschenbacher wrote:
> Peter S. Mazinger 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.
> > [...]
> > if you want to use uClibc, don't use newlib ... (even if have seen 
> > --with-newlib somewhere as a gcc configure option, that means only - as of 
> > gcc - that we do not have glibc, nothing newlib specific)
> 
> BTW: we use a toolchain with gcc-3.3.1 (arm7) with newlib for some
> years. But you have to be careful if you want to do so. We build uclibc
> seperately and force the compiler to use uclibc instead of any builtin
> stuff.

Just be aware that doing this is dangerous,
http://uclibc.org/FAQ.html#wrapper

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the uClibc mailing list