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 

PSP Development examples?

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



Joined: 06 Apr 2005
Posts: 16

PostPosted: Sun Jul 17, 2005 12:16 pm    Post subject: PSP Development examples? Reply with quote

Looking to port a few of my GP32 games (as well as make a few new ones) to the PSP but I cannot seem to find any basic examples.

Also is there a readme/howto that shows how to go from compile to eboot?

I downloaded and executed the toolchain script, does this include the PSPSDK or do I have to compile&install that separate?

I have a multilib enabled 64bit gentoo box, will this cause compile problems with the toolchain?


questions questions questions :)
Back to top
View user's profile Send private message
ector



Joined: 12 May 2005
Posts: 195

PostPosted: Sun Jul 17, 2005 12:18 pm    Post subject: Reply with quote

The latest toolchain script will also download and install PSPSDK, which includes a bunch of simple samples.

The included build.mak that all the sample makefiles include helps you make eboots. Just start your projects by taking a sample and hack it :)
Back to top
View user's profile Send private message
TheDevilsJester



Joined: 06 Apr 2005
Posts: 16

PostPosted: Sun Jul 17, 2005 12:25 pm    Post subject: Reply with quote

Where are these examples located? I ran the script and after it was (apparently) successfull all I have is a few toolchain files (binutils, gcc, newlib etc...) and a 'devel' folder with a couple scripts in it.
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Sun Jul 17, 2005 12:28 pm    Post subject: Reply with quote

Look in: $PSPDEV/psp/sdk/samples
Back to top
View user's profile Send private message Visit poster's website
TheDevilsJester



Joined: 06 Apr 2005
Posts: 16

PostPosted: Sun Jul 17, 2005 12:38 pm    Post subject: Reply with quote

Ah ok found a bunch of examples, however a 'make' fails

Code:
bash-2.05b$ make
make: psp-config: Command not found
Makefile:18: /lib/build.mak: No such file or directory
make: *** No rule to make target `/lib/build.mak'.  Stop.


What is psp-config? Something in the SDK or a part of the toolchain?

Hmm, ill do a search, see if this has been asked before...

EDIT: Nevermind, I looked at the wiki and it had an extra enviroment variable that the toolchain readme didnt mention, setting it worked perfectly.
Back to top
View user's profile Send private message
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