View previous topic :: View next topic |
Author |
Message |
evilAngel n00b
Joined: 21 Jul 2004 Posts: 53 Location: France
|
Posted: Thu Nov 20, 2008 4:27 pm Post subject: [closed]What is the toolchain ? |
|
|
Hi all,
I am new to Gentoo.
I recently installed one from stage3.
In documents I read, I often saw the "toolchain" term but I never found any explanation.
I understood it is linked to compilation.
Can someone explain me what is the toolchain ?
Thanks
Last edited by evilAngel on Thu Dec 25, 2008 10:24 pm; edited 2 times in total |
|
Back to top |
|
|
bombcar Guru
Joined: 08 Apr 2003 Posts: 453 Location: Wisconsin
|
Posted: Thu Nov 20, 2008 4:33 pm Post subject: |
|
|
It's the parts of the system you need to compile the rest. gcc, etc. |
|
Back to top |
|
|
mgrela Tux's lil' helper
Joined: 26 Jul 2008 Posts: 123 Location: Polska
|
Posted: Thu Nov 20, 2008 4:34 pm Post subject: |
|
|
The toolchain is the compiler, assembler, linker and other utilities used to build binaries (programs/libraries) from source code. In Gentoo it consists of the 'gcc' and 'binutils' packages. _________________ Maciej Grela
You just keep on trying till you run out of cake. |
|
Back to top |
|
|
notHerbert Advocate
Joined: 11 Mar 2008 Posts: 2228 Location: 45N 73W
|
Posted: Thu Nov 20, 2008 6:02 pm Post subject: |
|
|
These are the toolchain packages on a x86 Gentoo box. They are the required packages for building a working system Code: | sys-devel/gcc-4.1.2
sys-libs/zlib-1.2.3-r1
sys-devel/gnuconfig-20080123
sys-devel/gcc-config-1.4.0-r4
sys-devel/autoconf-2.61-r2
sys-devel/autoconf-wrapper-5
sys-devel/automake-1.10.1-r1
sys-devel/automake-wrapper-3-r1
sys-devel/binutils-config-1.9-r4
sys-devel/binutils-2.18-r3
sys-devel/flex-2.5.35
sys-devel/patch-2.5.9
sys-devel/m4-1.4.11
sys-devel/make-3.81
sys-devel/bison-2.3
sys-devel/libtool-1.5.26
sys-devel/gettext-0.17
sys-libs/glibc-2.6.1 |
|
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Thu Nov 20, 2008 6:11 pm Post subject: |
|
|
So, it's the barebone of your system.
If you change your Cflags one day, be sure to run this :
Code: |
# emerge -e system && emerge -e world
|
|
|
Back to top |
|
|
evilAngel n00b
Joined: 21 Jul 2004 Posts: 53 Location: France
|
Posted: Thu Nov 20, 2008 10:08 pm Post subject: |
|
|
Thanks for these info.
According what I understood, the aim of a gentoo stage 1 installation is to build your own toolchain.
Am I right ? |
|
Back to top |
|
|
notHerbert Advocate
Joined: 11 Mar 2008 Posts: 2228 Location: 45N 73W
|
Posted: Thu Nov 20, 2008 11:26 pm Post subject: |
|
|
Yes, plus a few of the system packages that are required to pull in and emerge the rest of the system. A stage3 does the same thing in one step instead of in the 2 steps a stage1 requires. |
|
Back to top |
|
|
evilAngel n00b
Joined: 21 Jul 2004 Posts: 53 Location: France
|
Posted: Fri Nov 21, 2008 9:43 am Post subject: |
|
|
I imagine you can begin with a stage 3 install, define your USE variable, and then re-emerge the whole system to reach the same point as an initial stage1 install ?
Or is a stage3 install definitive: you can not rebuild your toolchain ? |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Fri Nov 21, 2008 12:55 pm Post subject: |
|
|
evilAngel wrote: | I imagine you can begin with a stage 3 install, define your USE variable, and then re-emerge the whole system to reach the same point as an initial stage1 install ? |
In fact, on my box, I use a Stage 3 from funtoo.org, and after that, I change my Cflags and my Use Flags, I add the fr_CA support and I remove the en_Us language.
And I do this to recompile my box for my Quad Core :
Code: |
# emerge -e system && emerge -e system
|
After that, I can install X.ORG, and Kde etc.... and everything will be in French if there is a french package for that software. |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Fri Nov 21, 2008 12:56 pm Post subject: |
|
|
evilAngel wrote: | Or is a stage3 install definitive: you can not rebuild your toolchain ? |
The Stage3 is a precompiled package for the American people and you can always rebuild your toolchain with the emerge -e system command. |
|
Back to top |
|
|
evilAngel n00b
Joined: 21 Jul 2004 Posts: 53 Location: France
|
Posted: Sat Nov 22, 2008 12:13 pm Post subject: |
|
|
Quote: | The Stage3 is a precompiled package for the American people and you can always rebuild your toolchain with the emerge -e system command. | Ok, merci
And final question.
I hope I am not waking up a troll...
It seems there is a problem with Hardened Gentoo and the toolchain ?
Thx |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Sun Nov 23, 2008 3:37 am Post subject: |
|
|
In fact, I don't know why, but it's true. |
|
Back to top |
|
|
evilAngel n00b
Joined: 21 Jul 2004 Posts: 53 Location: France
|
|
Back to top |
|
|
mgrela Tux's lil' helper
Joined: 26 Jul 2008 Posts: 123 Location: Polska
|
Posted: Mon Dec 22, 2008 8:28 pm Post subject: Re: What is the toolchain ? |
|
|
evilAngel wrote: | Hi all,
I am new to Gentoo.
I recently installed one from stage3.
In documents I read, I often saw the "toolchain" term but I never found any explanation.
I understood it is linked to compilation.
Can someone explain me what is the toolchain ?
Thanks |
If you consider your question answered please add the keyword [closed] to this topic to make it easier to filter out. You can do this by editing the subject of your first post in this topic. Thank you.
Best regards,
Maciej Grela _________________ Maciej Grela
You just keep on trying till you run out of cake. |
|
Back to top |
|
|
|