[Buildroot] [PATCH] The external toolchain can be used statically.

Pkun serj.kalichev at gmail.com
Wed Dec 8 10:40:17 UTC 2010


Ok.
May be the right way is to copy only
"/usr/lib/libnss*.so*" and
"/usr/lib/gconv"
when the static is preferred?

Or make the shared libraries copying optional in Config.in?
Or make checkboxes especially for libnss and conv libraries to force
copying?

P.S. Sorry for message duplication. Send this message to get to thread.




2010/12/8 Mike Frysinger <vapier at gentoo.org>

> On Tuesday, December 07, 2010 10:48:14 Serj Kalichev wrote:
> > I tried to build minimal busybox-only project for using as initramfs. I
> use
> > external buildroot toolchain. The buildroot copy the .so libraries from
> > external toolchain to the target dir unconditionally. But I build busybox
> > statically and don't need shared libraries (the size of resulted image is
> > too big with unneeded libraries).
>
> this isnt entirely correct.  glibc will still load shared libs on the fly
> such
> as nss and iconv.
> -mike
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildroot.org/pipermail/buildroot/attachments/20101208/4824d582/attachment-0001.html>


More information about the buildroot mailing list