Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[closed]What is the toolchain ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
evilAngel
n00b
n00b


Joined: 21 Jul 2004
Posts: 53
Location: France

PostPosted: Thu Nov 20, 2008 4:27 pm    Post subject: [closed]What is the toolchain ? Reply with quote

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
View user's profile Send private message
bombcar
Guru
Guru


Joined: 08 Apr 2003
Posts: 453
Location: Wisconsin

PostPosted: Thu Nov 20, 2008 4:33 pm    Post subject: Reply with quote

It's the parts of the system you need to compile the rest. gcc, etc.
Back to top
View user's profile Send private message
mgrela
Tux's lil' helper
Tux's lil' helper


Joined: 26 Jul 2008
Posts: 123
Location: Polska

PostPosted: Thu Nov 20, 2008 4:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
notHerbert
Advocate
Advocate


Joined: 11 Mar 2008
Posts: 2228
Location: 45N 73W

PostPosted: Thu Nov 20, 2008 6:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Thu Nov 20, 2008 6:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
evilAngel
n00b
n00b


Joined: 21 Jul 2004
Posts: 53
Location: France

PostPosted: Thu Nov 20, 2008 10:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
notHerbert
Advocate
Advocate


Joined: 11 Mar 2008
Posts: 2228
Location: 45N 73W

PostPosted: Thu Nov 20, 2008 11:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
evilAngel
n00b
n00b


Joined: 21 Jul 2004
Posts: 53
Location: France

PostPosted: Fri Nov 21, 2008 9:43 am    Post subject: Reply with quote

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
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Fri Nov 21, 2008 12:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Fri Nov 21, 2008 12:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
evilAngel
n00b
n00b


Joined: 21 Jul 2004
Posts: 53
Location: France

PostPosted: Sat Nov 22, 2008 12:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Sun Nov 23, 2008 3:37 am    Post subject: Reply with quote

In fact, I don't know why, but it's true.
Back to top
View user's profile Send private message
evilAngel
n00b
n00b


Joined: 21 Jul 2004
Posts: 53
Location: France

PostPosted: Thu Dec 04, 2008 1:02 pm    Post subject: Reply with quote

Browsing Internet, I found these articles about the Toolchain:

http://bottomupcs.sourceforge.net/csbu/c2841.htm
Back to top
View user's profile Send private message
mgrela
Tux's lil' helper
Tux's lil' helper


Joined: 26 Jul 2008
Posts: 123
Location: Polska

PostPosted: Mon Dec 22, 2008 8:28 pm    Post subject: Re: What is the toolchain ? Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum