On Sat, 09 Jul 2005 19:10:03 -0700, Razvan Cristian wrote:
> I have built a LFS system, and I would like to find out how I could build
> it using uclibc instead of glibc.
>
> I'm not interested on putting it on a floppy or something, I just want to
> build a system which should be as large as 30-40 MB.
> As I've seen, binaries compiled against uclibc are very small.
>
> I made an attempt to install uclibc into /tools while the toolchain is
> built, without installing glibc, after I set the variables that I've found
> in the uclibc floppy disk hint, it kept showing a lc error message.
>
> If there's a how to on replacing the glibc used in the LFS book with
> uClibc library, please tell me. Did anyone try this? How big was the
> system? Which are the necessary steps to achieve this?
>
>
> Thank you all, all who contribute to this great way of teaching linux.
> Keep up the good work!
>
> __________________________________________________ Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
I have built an LFS system with uClibc, following HLFS and keeping out the ssp,
grsecurity, and other things that are added to harden the LFS build. Here is a
checklist to get you started:
Decide if there is anything in BLFS you want.
- There was some kinda issue with some other packages, I think it was
something in alsa
- You'll have problems shadow as there is no NIS support in uClibc,
- Hmm let's see.. you'll need the uClibc patches from the patches archive,
- You will not be able to run precompiled binaries that need glibc, such as
plugins for mozilla and java, probably lots of others...
The uClibc system I built for my 486 router with just bin etc lib sbin
/usr/{bin,lib,sbin,share} is 102M.
Just a heads up
Have fun.
William (Ratrophy)
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page