[uClibc]Building a full system with uClibc ...

Erik Andersen andersen at codepoet.org
Tue Jun 18 17:33:51 UTC 2002


On Tue Jun 18, 2002 at 04:18:49PM +0200, dag4004 wrote:
> Hello,
> 
> We want to build a system which use uClibc.
> Actually we have build a static system which doesn't need any lib's.
> We can chroot in, and it work fine.
> We have build uClibc. We have put lib*.so and includes in the chroot'ed
> environnement.
> Now we want to compile progs angainst uClibc in the chrooted env.
> We try with a simple hello world.
> We use gcc staticly build.
> We try : gcc test.c
> And it say : cannot open crt1.o
> uClibc has build a crt0.o but any crt1.o
> We have tryed to ln -s crt0.o crt1.o
> It could compile but we cant lauch the exe.

You will need to modify the gcc specs file to specify
crt0.o instead of crt1.o,

 -Erik

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



More information about the uClibc mailing list