| View previous topic :: View next topic |
| Author |
Message |
eridano
Joined: 24 Jan 2008 Posts: 11
|
Posted: Fri Dec 19, 2008 8:03 pm Post subject: Best IDE on Ubuntu 8.10 for PSP homebrew development |
|
|
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 |
|
 |
NoEffex
Joined: 27 Nov 2008 Posts: 108
|
Posted: Sat Dec 20, 2008 7:09 am Post subject: |
|
|
| 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 |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Sat Dec 20, 2008 7:40 am Post subject: |
|
|
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 |
|
 |
|