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 

Best IDE on Ubuntu 8.10 for PSP homebrew development

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



Joined: 24 Jan 2008
Posts: 11

PostPosted: Fri Dec 19, 2008 8:03 pm    Post subject: Best IDE on Ubuntu 8.10 for PSP homebrew development Reply with quote

Ciao/Hi.
I'm newbie. I installed just now a psptoolchain to (try to) develop homebrews. Could someone suggest me best (light) IDE to make simpler hombrew creation and instruction about how customize it for psptoolchain?

Ivan Cella
eridano@hotmail.com
Back to top
View user's profile Send private message
NoEffex



Joined: 27 Nov 2008
Posts: 108

PostPosted: Sat Dec 20, 2008 7:09 am    Post subject: Reply with quote

I use geany with various styles changed. Also, if you want to set it to compile, set the compile command to "make", if you want to make life easy on yourself, otherwise it has a built-in terminal.
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Sat Dec 20, 2008 7:40 am    Post subject: Reply with quote

Geany is in the Ubuntu repo and is a very nice lightweight IDE. I use it for nearly all my editing. It's also fairly easy to make it compile your PSP project:

First, edit the preferences in geany - click on the Tools tab and add this before "/usr/bin/make" in the make tool path:

Code:
export PSPDEV="/usr/local/pspdev" && export PSPSDK="$PSPDEV/psp/sdk" && export PSPPATH="$PSPDEV/bin:$PSPDEV/psp/bin:$PSPSDK/bin" && export PATH="$PATH:$PSPPATH" && export PKG_CONFIG_PATH="$PSPDEV/psp/lib/pkgconfig" &&


That sets the envvars the PSP SDK needs for making the project.

Next, write the project like any of the existing samples or programs with source.

Finally, just open the makefile inside geany and choose "Make Custom Target" from the build menu. Then enter any make options for your project, like "clean" or "debug". To just make the project, don't enter anything (or "release" if your makefile has that as the main target). Geany will then make the project, giving you the status as it compiles. If you get errors, just click on the error in the status pane and geany will open the file and go right to the line and underline the error.

Note that if you have multiple files open, you need to have the makefile as the current one when making the project. That makes sure geany finds the makefile.
Back to top
View user's profile Send private message AIM Address
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