PSP Development examples?

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
TheDevilsJester
Posts: 16
Joined: Wed Apr 06, 2005 8:10 am

PSP Development examples?

Post by TheDevilsJester »

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 :)
ector
Posts: 195
Joined: Thu May 12, 2005 10:22 pm

Post by ector »

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 :)
TheDevilsJester
Posts: 16
Joined: Wed Apr 06, 2005 8:10 am

Post by TheDevilsJester »

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.
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

Look in: $PSPDEV/psp/sdk/samples
TheDevilsJester
Posts: 16
Joined: Wed Apr 06, 2005 8:10 am

Post by TheDevilsJester »

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

Code: Select all

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.
Post Reply