Find the answer to your Linux question:
Results 1 to 5 of 5
How would I go about compiling a system based on uClibc and busybox? I have seen tutorials but they are too old and don't work today. I would like to ...
  1. #1
    Just Joined!
    Join Date
    Aug 2005
    Location
    South West England
    Posts
    91

    Creating new small distro, uclibc

    How would I go about compiling a system based on uClibc and busybox? I have seen tutorials but they are too old and don't work today.
    I would like to compile for i586-pc-linux-uclibc and use as little space as possible. I have looked at Linux from Scratch, but can't think of a way to adapt the system like it, and it would need hefty adaption. I thought I'd build in /tools which links to /mylinux/tools then chroot to /mylinux and build with the development system in /tools and everything else in /. This would enable me to package everything except tools for a normal system and everything including tools for a devel system. I can't get any further.

    Can anyone help?

  2. #2
    Linux Enthusiast
    Join Date
    Jun 2005
    Location
    The Hot Humid South
    Posts
    602
    Check the Linux From Scratch Hints page. One of the hints is about compiling LFS using uClibc. It's a 2005 tutorial, but should still be relevant. You'll need to redo the patches they have listed yourself, though.

    Another option is to look at uClibc's "buildroot":
    Buildroot
    "Today you are freer than ever to do what you want, provided you can pay for it!" --Bad Religion

  3. #3
    Just Joined!
    Join Date
    Aug 2005
    Location
    South West England
    Posts
    91
    ugh, buildroot won't compile...eeeek
    ok thanks for the hint about hints

  4. #4
    Linux Enthusiast
    Join Date
    Jun 2005
    Location
    The Hot Humid South
    Posts
    602
    They also have pre-compiled tarballs of buildroot, at least they used to.
    "Today you are freer than ever to do what you want, provided you can pay for it!" --Bad Religion

  5. #5
    Just Joined!
    Join Date
    Aug 2005
    Location
    South West England
    Posts
    91
    Oh ok, that's kind of useful. More useful than giving me broken svn's.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •