LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 01-18-2007, 08:44 AM   #1
nesta
Member
 
Registered: Aug 2006
Posts: 100

Rep: Reputation: 15
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.
 
Old 01-19-2007, 06:43 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 162Reputation: 162
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.
 
Old 01-22-2007, 10:11 AM   #3
sundialsvcs
Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 5,401

Rep: Reputation: 1119Reputation: 1119Reputation: 1119Reputation: 1119Reputation: 1119Reputation: 1119Reputation: 1119Reputation: 1119Reputation: 1119
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.

Last edited by sundialsvcs; 01-22-2007 at 10:15 AM.
 
Old 01-22-2007, 01:12 PM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 162Reputation: 162
Thanks for clarifying that sundialsvcs...
 
Old 01-23-2007, 05:30 AM   #5
Nishant Desai
Member
 
Registered: Jul 2006
Posts: 100
Blog Entries: 1

Rep: Reputation: 15
Quote:
Originally Posted by sundialsvcs
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.
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?

Thanks,
Nishant
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
adjusting the toolchain bourbonstreet Linux From Scratch 5 11-05-2006 11:43 AM
Problems with the Toolchain hbinded Linux From Scratch 10 05-17-2006 08:51 AM
Why toolchain and chroot?? thloh85 Linux From Scratch 13 04-11-2006 09:17 PM
Broken toolchain Camino Slackware 9 11-22-2005 09:38 AM
6.12. Re-adjusting the Toolchain jobesd Linux From Scratch 2 01-16-2005 01:50 PM


All times are GMT -5. The time now is 02:50 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration