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 

HowTo Setup Toolchain

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



Joined: 15 Jul 2005
Posts: 13

PostPosted: Mon Jul 02, 2007 7:56 am    Post subject: HowTo Setup Toolchain Reply with quote

The Readme states:

====================
What does this do?
====================

This program will automatically build and install a compiler and other
tools used in the creation of homebrew software for the Sony Playstation 3
videogame system.

==================
How do I use it?
==================

1) Set up your environment by installing the following software:

autoconf, automake, bison, flex, gcc, make, ncurses, patch, subversion, terminfo, wget

2) Add the following to your login script:

export PS3DEV=/usr/local/ps3dev
export PATH=$PATH:$PS3DEV/bin
export PATH=$PATH:$PS3DEV/ppu/bin
export PATH=$PATH:$PS3DEV/spu/bin

3) Run the toolchain script:

./toolchain.sh

==========================
Where do I go from here?
==========================

Visit the following sites to learn more:

http://www.ps2dev.org
http://forums.ps2dev.org

-------------------------------------------------------------------------------------

Where to get the following software?

autoconf, automake, bison, flex, gcc, make, ncurses, patch, subversion, terminfo, wget

Answer: www.gnu.org, http://subversion.tigris.org/
Back to top
View user's profile Send private message
zabbyh



Joined: 15 Jul 2005
Posts: 13

PostPosted: Mon Jul 02, 2007 8:45 am    Post subject: Reply with quote

Can someone post a link to the correct terminfo prog required I managed to find something called termtypes but that is related to linux?
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Tue Jul 03, 2007 9:39 am    Post subject: Reply with quote

The latest version of ps3toolchain has different requirements:

Quote:
1) Set up your environment by installing the following software:

autoconf, automake, bison, flex, gcc, make, patch, subversion, wget

You don't need terminfo, so you don't need to worry about it.
Back to top
View user's profile Send private message Visit poster's website
zabbyh



Joined: 15 Jul 2005
Posts: 13

PostPosted: Fri Jul 06, 2007 5:49 am    Post subject: Reply with quote

@ooPo

Hi m8 in what order should these be installed, as the installation instructions are really vague and I am unable to install successfully.

For e.g. the autoconf instructions state to run configure but how.. Command prompt in Windows XP/Vista does not run anything.

Thanks for update
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Fri Jul 06, 2007 6:22 am    Post subject: Reply with quote

The cygwin installation program should allow you to select which packages to install and it will do it in the right order for you.
Back to top
View user's profile Send private message Visit poster's website
zabbyh



Joined: 15 Jul 2005
Posts: 13

PostPosted: Sun Jul 08, 2007 9:25 am    Post subject: Reply with quote

Add the following to your login script:

export PS3DEV=/usr/local/ps3dev
export PATH=$PATH:$PS3DEV/bin
export PATH=$PATH:$PS3DEV/ppu/bin
export PATH=$PATH:$PS3DEV/spu/bin

@ooPo where do I put this, I have placed in Environment Variables doesn't seem to do anything.

Also placed a file called ps3dev.sh file containing above in C:\cygwin\etc\profile.d

When I run cygwin I get:-

': not a valid identifier
': not a valid identifier
': not a valid identifier
': not a valid identifier

Still I have run ./toolchain & it seems to be installing..

How long does it take to install? I had it left running overnight and someone went and switched off my machine so don't know if it is fully installed.

Also when I open cygwin I get:-

Your group is currently "mkgroup". This indicates that the the /etc/group (and possibly the /etc/passwd) files should be rebuilt.

If I run

mkgroup -l it does something.

If I run mkgroup -l /etc/passwd

I get the message the domain name is only accepted when -d is given.

Then is I use mkgroup -d /etc/passwd

The format of the specified domain is invalid.
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Mon Jul 09, 2007 2:49 am    Post subject: Reply with quote

zabbyh wrote:
@ooPo where do I put this, I have placed in Environment Variables doesn't seem to do anything.

Ask google, I don't know. I do not run cygwin.

Quote:
Also placed a file called ps3dev.sh file containing above in C:\cygwin\etc\profile.d

What part of the readme told you to do that?

Quote:
How long does it take to install? I had it left running overnight and someone went and switched off my machine so don't know if it is fully installed.

My machine takes maybe half an hour to build the toolchain, but again I'm not running cygwin.

Quote:
Also when I open cygwin I get:-

Your group is currently "mkgroup". This indicates that the the /etc/group (and possibly the /etc/passwd) files should be rebuilt.

If I run

mkgroup -l it does something.

If I run mkgroup -l /etc/passwd

I get the message the domain name is only accepted when -d is given.

Then is I use mkgroup -d /etc/passwd

The format of the specified domain is invalid.

It sounds like you've really done a hackjob on your installation of cygwin. Are you sure you know what you're doing?
Back to top
View user's profile Send private message Visit poster's website
Jim



Joined: 02 Jul 2005
Posts: 487
Location: Sydney

PostPosted: Sat Jul 14, 2007 4:27 pm    Post subject: Reply with quote

Quote:
If I run mkgroup -l /etc/passwd


The command it tells you to type is
mkgroup -l > /etc/passwd

there's a redirection in there.

Jim
_________________
http://www.dbfinteractive.com
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 -> PS3 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