| View previous topic :: View next topic |
| Author |
Message |
dzer0
Joined: 29 May 2005 Posts: 15
|
Posted: Wed Jul 13, 2005 9:55 am Post subject: Programming N00b |
|
|
Hi. Ive had prior experience in VB and some basic C++. I just downloaded the PSPSDK and installed it and everything. I went to \psp\sdk\samples and found the .c file and started poking around and changing some basic stuff. Now i want to compile and im lost. I know i need to run it through elf2pbp later but i need help figuring out how to compile to an elf in the first place. Any help at all would be appreciated. I would prefer to use BATs, but if someone can even help me run the makefile that would be nice.
MSN: chaseslabaugh@attbi.com
thanks,
d0 |
|
| Back to top |
|
 |
Agoln

Joined: 08 Jun 2005 Posts: 326 Location: Fort Wayne, IN
|
Posted: Wed Jul 13, 2005 10:08 am Post subject: |
|
|
using cygwin, just type 'make kxploit', it will give you 2 directories, one with a % and one w/o a %, then just copy those to your psp/game/ directory and you're good to go! _________________ Lego of my Ago! |
|
| Back to top |
|
 |
dzer0
Joined: 29 May 2005 Posts: 15
|
Posted: Wed Jul 13, 2005 11:48 am Post subject: |
|
|
Ok, im REALLY sorry for this next comment because my n00b meter blew up...i thought cygwin was a set of DLLs??? if not, how do i access cygwin from a BAT?
Thanks,
d0 |
|
| Back to top |
|
 |
Agoln

Joined: 08 Jun 2005 Posts: 326 Location: Fort Wayne, IN
|
Posted: Wed Jul 13, 2005 11:55 am Post subject: |
|
|
well, you should see a cygwin icon on your desktop that will give you a command box. using this you can browse to your directory that you need, then just type 'make'.
cygwin is a linux emulator... for the most part. _________________ Lego of my Ago! |
|
| Back to top |
|
 |
dzer0
Joined: 29 May 2005 Posts: 15
|
Posted: Wed Jul 13, 2005 12:50 pm Post subject: |
|
|
oh ok...i didnt have cygwin installed...that would explain a lot :P
Thanks
d0 |
|
| Back to top |
|
 |
dzer0
Joined: 29 May 2005 Posts: 15
|
Posted: Wed Jul 13, 2005 12:53 pm Post subject: |
|
|
| wait is there a way to do it WITHOUT cygwin? like with just BATs? |
|
| Back to top |
|
 |
Agoln

Joined: 08 Jun 2005 Posts: 326 Location: Fort Wayne, IN
|
Posted: Wed Jul 13, 2005 1:00 pm Post subject: |
|
|
Not that I know of... I would just use cygwin. _________________ Lego of my Ago! |
|
| Back to top |
|
 |
dzer0
Joined: 29 May 2005 Posts: 15
|
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Wed Jul 13, 2005 1:44 pm Post subject: |
|
|
Surely something happens. Does it build some software? Give an error message? Tell you a dirty limerick?!
QUICK MAN! TELL US OR WE'RE DOOOOOMED!!! |
|
| Back to top |
|
 |
dzer0
Joined: 29 May 2005 Posts: 15
|
Posted: Wed Jul 13, 2005 1:48 pm Post subject: |
|
|
| ok it says 'make' is not recognized as an internal or external command, operable program or batch file |
|
| Back to top |
|
 |
mrdelayer
Joined: 10 Jul 2005 Posts: 16
|
Posted: Wed Jul 13, 2005 2:02 pm Post subject: |
|
|
| are you typing it into cygwin...? |
|
| Back to top |
|
 |
dzer0
Joined: 29 May 2005 Posts: 15
|
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Wed Jul 13, 2005 2:24 pm Post subject: |
|
|
It makes you kinda wonder why you're posting here instead of there, eh?
Read further in that post and you'll see it mentions cygwin several times and even addresses your problem. |
|
| Back to top |
|
 |
dzer0
Joined: 29 May 2005 Posts: 15
|
Posted: Thu Jul 14, 2005 1:39 am Post subject: |
|
|
Ok so ive actually got quite far with the sans-cygwin method but when i run make, it includes build.mak just fine but it says make: psp-gcc: Command not found. Ive got PSPSDK envirnonment variable set correctly an everything...
EDIT2: I FINALLY got it working! Turns out i had to put PSPSDK=$(shell psp-config --pspsdk-path) in my makefile after all. |
|
| Back to top |
|
 |
|