What does the toolchain installer do?

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
jojojoris
Posts: 255
Joined: Sun Mar 30, 2008 4:06 am

What does the toolchain installer do?

Post by jojojoris »

I am trying to install the toolchain on my ubuntu. While the installer war running i was looking trough the scripts.

I saw 2 scripts with 2 stages.

gcc and pspsdk has both 2 stages.

What is the difference about these scripts.
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

Basically you need a C compiler to build the C++ standard library, then you can build a C++ compiler. This is why it is done in two stages.

I believe pspsdk is in two stages because you need part of it to build the first stage of the compiler, which is then needed to compile the other part of pspsdk.

This is sometimes called toolchain hell. :)
Post Reply