![]() |
| Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact |
| ||||||
This is a discussion on [Guide] PSP Development Environment Setup Tutorial within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; PSP Development Environment Setup Tutorial v1.5 by EvilSeph and Raphael Note: Screenshots are currently broken...will work on getting that fixed ...
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
![]() |
PSP Development Environment Setup Tutorial
v1.5 by EvilSeph and Raphael Note: Screenshots are currently broken...will work on getting that fixed when I can. Information Let me start off by saying I realise there are a few hundred of these guides (written in different languages) but they're incorrect, incomplete or tell you to do things you don't need to do. So, I decided to write my own. Mainly for my own benefit, if I were to have to reinstall the toolchain but I thought I'd post it here anyway. This tutorial is different, in that it only tells you to do what you need, resulting in a somewhat faster install of cygwin and less disk space wasted on your harddrive. I've placed screenshots in spoiler tags, for those 56k users out there. Although, I pray for you if you are wanting to use this guide and have 56k, it will take you longer than forever... Required Download: Cygwin - http://www.cygwin.com/ Cygwin Installation: 1. Cygwin Setup a) Run the "setup.exe" that you downloaded from http://www.cygwin.com/ and you should see something similar to what is in the screenshot below. b) Press Next. Spoiler for Cygwin Installer - Main:
2. Installation Type a) Choose the first option, "Install from Internet" as shown in the screenshot below. b) Press Next. Spoiler for Cygwin Installer - Installation Type:
3. Installation Directory a) Choose where you want to install cygwin. I've chosen "D:\cygwin" in the screenshot below, but it can be whatever you want - just make sure that there are NO SPACES in the location you choose or you'll run into problems later on. b) Choose who you want to install cygwin for (All Users or Just Me - I'd recommend installing cygwin for all users). c) Make sure that the "Default Text File Type" is set to "Unix / binary" or you'll run into problems. d) Press Next. It is recommended that you keep everything here at the default (meaning, don't change anything). Spoiler for Cygwin Installer - Installation Directory:
4. Local Package Directory a) Choose where you want the files cygwin downloads to be located. I've chosen D:\cygwininstall" in the screenshot below, but once again, it could be whatever you want. However, the default is usually fine. All the files cygwin downloads can be deleted later. b) Press Next. Spoiler for Cygwin Installer - Local Package Directory:
5. Connection Type a) Choose the type of connection you would like cygwin to use. If you know that you have to change this, then do. If you don't know what this is, the default will work fine. It is recommended you leave this at default. b) Press Next. Spoiler for Cygwin Installer - Connection Type:
6. Download Sites a) Choose the site(s) you wish cygwin to use to download the files from. In this case, it all depends on where you are located. The easiest way to figure out which site is closest to you is to go to http://www.cygwin.com/mirrors.html and look for your country and city or the city closest to you. I've chosen to add a new mirror: http://sources-redhat.oc1.mirrors.redwire.net/cygwin/ b) Press Next. Spoiler for Cygwin Installer - Download Sites:
Ok, so far it's been the same as every other guide. But here's where mine differs. Where other guides just tell you to install EVERY Devel package, I'm going to be specific. Beware, this is going to get really detailed...here goes: 7. Package Selection Note: When you do what I've told you to do here, other packages will automatically be marked to be installed, leave them like that. a) Click the + next to "Base", find the following and click next to it under the "New" column, to tell cygwin to install it: Spoiler for Base Packages:
b) Click the + next to "Devel", find the following and click next to it under the "New" column, to tell cygwin to install it: Spoiler for Devel Packages:
c) Click the + next to Shells, find the following and click next to it under the "New" column, to tell cygwin to install it: Spoiler for Shell Packages:
d) Click the + next to Utils, find the following and click next to it under the "New" column, to tell cygwin to install it: Spoiler for Utils Packages:
e) Click the + next to Web, find the following and click next to it under the "New" column, to tell cygwin to install it: Spoiler for Web Packages:
Spoiler for All Package Summary:
f) Press Next. 8. Create Icons a) Decide whether you want the cygwin installer to put a shortcut on your desktop. b) Decide whether you want the cygwin installer to add an icon to your start menu. c) Press Finish. Spoiler for Cygwin Installer - Create Icons:
9. Toolchain Setup a) Open cygwin and type the following and press Enter after each line: Code:
echo "export PSPDEV=/usr/local/pspdev" >> ~/.bashrc echo "export PATH=\$PATH:\$PSPDEV/bin" >> ~/.bashrc b) Close cygwin and reopen it c) Type the following and press Enter after each line Code:
svn co svn://svn.ps2dev.org/psp/trunk/psptoolchain cd psptoolchain ./toolchain.sh Code:
"make[1]: Leaving directory ..." Code:
"make: *** [all] Error 2 ../scripts/009-psplinkusb.sh: Failed." Code:
cd build/psplinkusb make && make release Congratulations, you now have a PSP Development Environment set up. :) Other tutorials/information on how to setup a PSP Development Environment: http://tinmanx.com/Windows_PSP_SDK_Guide.html http://wiki.ps2dev.org/psp:toolchain http://wiki.ps2dev.org/psp:programming_faq http://www.psp-programming.com/code/...c:cygwin_in_10 http://www.lan.sh/showthread.php?t=366 Last edited by Moose; 04-06-2008 at 10:55 AM.. |
|
|
|
|
|
#2 |
![]() |
Nice, hopefully no more damn threads about this.
__________________
YEAH! [center][COLOR="DimGray"][SIZE="2"][FONT="Times New Roman"]Julius Parishy [[URL="http://jparishy.com"]Homepage[/URL]][/FONT][/COLOR] Affiliates: [url=http://xfacter.jparishy.com/]Xfacter[/url] | [url=http://flatmush.jparishy.com/]Flatmush[/url] | [url=http://yaustar.jparishy.com/]Yaustar[/url] [url=http://jparishy.com/wp/source-code/]Soure Code[/url] [/center] [/size] |
|
|
|
|
|
#3 |
![]() |
Yeah. I got sick of those because they were all wrong. :\
About 9b, I couldn't get a screenshot because I already have the toolchain installed and refuse to re-do it just to get a screenshot for this guide. :P If anyone has a screenshot showing the ending lines of the toolchain script: Code:
make[1]: Leaving directory '/tmp/pspdev/pspsdk |
|
|
|
|
|
#5 |
![]() |
OK, I've looked at your sig. I don't see your point?
This doesn't take long. But that really depends on a lot of things. Like how much ram you have, how well configured your OS is, what's the speed of your processor, what's the speed of your internet... It took me +/- 1 hour to do all of that, using my guide. Please elaborate. |
|
|
|
|
|
#6 |
![]() ![]() Developer
|
Thanx Im going to setup today
.
__________________
![]() Current projects:
PSPMEX DevTeam.
|
|
|
|
|
|
#7 |
![]() |
< 30 Minutes for me! Anyone want to guess why?
__________________
YEAH! [center][COLOR="DimGray"][SIZE="2"][FONT="Times New Roman"]Julius Parishy [[URL="http://jparishy.com"]Homepage[/URL]][/FONT][/COLOR] Affiliates: [url=http://xfacter.jparishy.com/]Xfacter[/url] | [url=http://flatmush.jparishy.com/]Flatmush[/url] | [url=http://yaustar.jparishy.com/]Yaustar[/url] [url=http://jparishy.com/wp/source-code/]Soure Code[/url] [/center] [/size] |
|
|
|
|
|
#9 |
![]() |
MAC!!!!!!!!!!!
hehe. I thought you knew that from IRC.
__________________
YEAH! [center][COLOR="DimGray"][SIZE="2"][FONT="Times New Roman"]Julius Parishy [[URL="http://jparishy.com"]Homepage[/URL]][/FONT][/COLOR] Affiliates: [url=http://xfacter.jparishy.com/]Xfacter[/url] | [url=http://flatmush.jparishy.com/]Flatmush[/url] | [url=http://yaustar.jparishy.com/]Yaustar[/url] [url=http://jparishy.com/wp/source-code/]Soure Code[/url] [/center] [/size] |
|
|
|
|
|
#11 | |
|
Well, after I run ./toolchain.sh it ends with
Quote:
|
||
|
|
|
|
|
#12 |
![]() |
Thanks for the great guide, but I have a question. Where exactly do we click to install the packages? It seems like they are already set to install because when I click they either go to what seems like another version or to 'skip'. Thanks.
|
|
|
|
|
|
#13 |
![]() ![]() Developer
|
Is it possible to update the toolchain [It's already installed and runs fine] without running ./toolchain.sh ?
I heard about some recent fixes in svn! I expect a prompt reply!
__________________
Hardware Alarm Suite II v2.7 bld 1727 (1730 Latest)|Academic Aid 6.R769 w/ Motion|LocoRoco Motion Plugin|XmbController 1.61|More(32) TweakDISPLAY(NOW OUT!) | PaintOnXMB v1
|
|
|
|
|
|
#15 | |
![]() ![]() Developer
|
Quote:
__________________
Hardware Alarm Suite II v2.7 bld 1727 (1730 Latest)|Academic Aid 6.R769 w/ Motion|LocoRoco Motion Plugin|XmbController 1.61|More(32) TweakDISPLAY(NOW OUT!) | PaintOnXMB v1
|
|
|
|
|
|
|
#16 |
![]() |
I formatted my hard drive with cygwin running perfectly. Now when I install using this guide it doesn't work. I get:
ERROR: Please make sure you have 'automake' installed. after I type in ./toolchain.sh |
|
|
|
|
|
#19 | |
![]() |
Quote:
This will download and build the latest version of PSPSDK for you. still takes long, but not as long as it would running the whole script. |
|
|
|
|
|
|
#21 |
![]() ![]() Developer
|
For all people with the automake problem.
Read step 7b of this tutorial or step 7 of 0x89's tutorial: http://insomniac.0x89.org/index.php?id=56
__________________
[Blog] [Portfolio] [Homebrew Illuminati - Serious Homebrew Development Forums] [I want to make Homebrew FAQ] [How I broke into the Games Industry] [Programming Book List] [Programming Article List] |
|
|
|
|
|
#22 |
|
Banned for LIFE
|
evilseph my cygwin is just not working. I installed it on D drive and i changed my cywgin.bat to this
@echo off D: chdir D:\cygwin\bin set path=%path%;D:\cygwin\usr \local\pspdev\bin set PSPSDK=D:\cygwin\usr\loca l\pspdev bash --login -i But it just doesnt work at all when im trying to compile zlib or any other lib |
|
|
|
|
|
#23 | |
![]() |
Quote:
|
|
|
|
|
|
|
#25 | |
![]() ![]() Developer
|
Quote:
__________________
[Blog] [Portfolio] [Homebrew Illuminati - Serious Homebrew Development Forums] [I want to make Homebrew FAQ] [How I broke into the Games Industry] [Programming Book List] [Programming Article List] |
|
|
|
|
|
|
#27 |
![]() ![]() Developer
|
The 'other' solution is to host the automake tools for download.
__________________
[Blog] [Portfolio] [Homebrew Illuminati - Serious Homebrew Development Forums] [I want to make Homebrew FAQ] [How I broke into the Games Industry] [Programming Book List] [Programming Article List] |
|
|
|
|
|
#28 |
![]() |
my cygwin is also on my D drive and i have edited the bat file as said
still doesnt work... i keep reciveing the error:make: psp-config: command not found makefile:10: /lib/build.mak: no such file or directory make: *** non rule to make target 'lib/build.mak'. Stop. ive tried changing the make file to go straight to the director where build.mak is held buti keep recieving errors can anyone help? |
|
|
|
|
|
#29 |
![]() |
I've tried re-doing this several times, installing, uninstalling, reinstalling sometime the whole thing, and sometimes just the make/automake packages, but when I get to the part to runt the toolchain.sh script, it always tells me that I don't have automake installed
|
|
|
|
|
|
#30 | |
|
This error:
Quote:
Anyway, I got my tool chain compiled and functional after only uhh... 72 hours, probably. Hooray! |
||
|
|
|
![]() |
| Tags |
| development , environment , guide , psp , setup , tutorial |
| Thread Tools | |
|
|