| View previous topic :: View next topic |
| Author |
Message |
jojojoris
Joined: 30 Mar 2008 Posts: 261
|
Posted: Sun Nov 30, 2008 10:23 pm Post subject: What does the toolchain installer do? |
|
|
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. |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Mon Dec 01, 2008 9:45 am Post subject: |
|
|
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. :) |
|
| Back to top |
|
 |
|