libgcc_s.so.1 & uClibc
John Z. Bohach
jzb at aexorsyst.com
Wed Nov 23 16:02:21 UTC 2005
On Wednesday 23 November 2005 07:20, Ayoub wrote:
> Now I've built the Busybox staticly ( in order to have the init )
> I've compiled a simple hello.c ( print hello world ) with the
> i386-linux-uclibc-gcc
> When I execute it I have the message :
> hello: can't load library 'libgcc_s.so.1'
>
> and when I copy this shared library from an existent file system ( that
> I didn't built myself)
> the hello work.
>
> Can some one tell me how to build this 'libgcc_s.so.1' with the uclibc (
> after the compilation and the install of the uclibc I don't find it !)
> I'm using : uclibc-0.9.28 and a cross toolchain i386-linux-uclibc-gcc
> corresponding to this version.
Your cross-compiler environment isn't properly setup for what you want to do.
libgcc* gets built as part of the cross-gcc build. You may still be using
the old method of building a cross toolchain, which is no longer supported.
Try the buildroot project, its linked on the busybox website...If you want
training on how to build a toolchain/rootfs from scratch, go to
www.linuxfromscratch.org.
--
### Any similarity between my views and the truth is completely ###
### coincidental, except that they are endorsed by NO ONE ###
More information about the busybox
mailing list