about toolchain
hi folks
i really want to know want to know what is the toolchain and why it is used for what? also the use of : image busybox boatloader just want to know the use of each one. thanks in advance. |
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.
|
That's not quite right, but very close.
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. |
Thanks for clarifying that sundialsvcs...
|
Quote:
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? Thanks, Nishant |
All times are GMT -5. The time now is 05:41 AM. |