forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

What does the toolchain installer do?

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
jojojoris



Joined: 30 Mar 2008
Posts: 261

PostPosted: Sun Nov 30, 2008 10:23 pm    Post subject: What does the toolchain installer do? Reply with quote

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
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Mon Dec 01, 2008 9:45 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
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


Powered by phpBB © 2001, 2005 phpBB Group