Linux - KernelThis forum is for all discussion relating to the Linux kernel.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I won't pretend to be an expert, but the toolchain is the compiler, assembler, linker, libraries, and utilities that form the core of your system. If you want to know how a Linux system is constructed, have a read through (and try) Linux From Scratch. Chapter 5 talks about the contents of the toolchain.
When you are building a new system, you are creating what must be a self-contained and completely independent software environment. You are doing so under the auspices of an existing, running system, but when you are finished, the result must have no ties whatsoever to that system. Furthermore, you must ensure that, once the new system is built and components are built under it, those new components will have been built in exactly the same environment as those which were not. "The bootstrap must fit the boot," so to speak.
So, the toolchain is the set of tools that is built under the old system to be used in building the new one. The toolchain is built and then the chroot command is used to enter an environment in which nothing but the toolchain exists. Within this environment you build the final kernel, libraries, compilers and so-on.
Image, busybox, and so-on are basic tools, so-called "core tools," that are used in any Linux environment and without which the system cannot be used. They are built by and as part of the toolchain.
Linux from scratch is indeed the best exercise to go through to really see this for yourself.
Last edited by sundialsvcs; 01-22-2007 at 10:15 AM.
When you are building a new system, you are creating what must be a self-contained and completely independent software environment. You are doing so under the auspices of an existing, running system, but when you are finished, the result must have no ties whatsoever to that system. Furthermore, you must ensure that, once the new system is built and components are built under it, those new components will have been built in exactly the same environment as those which were not. "The bootstrap must fit the boot," so to speak.
So, the toolchain is the set of tools that is built under the old system to be used in building the new one. The toolchain is built and then the chroot command is used to enter an environment in which nothing but the toolchain exists. Within this environment you build the final kernel, libraries, compilers and so-on.
Image, busybox, and so-on are basic tools, so-called "core tools," that are used in any Linux environment and without which the system cannot be used. They are built by and as part of the toolchain.
Linux from scratch is indeed the best exercise to go through to really see this for yourself.
Hii, sundialsvcs,
I want to know that what is the Busybox utility? wats the use of it? pls tell me i am eager to know that from the times... but couldnt find any description about it? is it a toolchain kind of utility?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.