| View previous topic :: View next topic |
| Author |
Message |
Hippo
Joined: 25 Jun 2005 Posts: 19
|
Posted: Sat Jun 25, 2005 11:08 am Post subject: Program compiled with g++ doesn't work... |
|
|
After screwing around with the Hello World example, I tried my hand at porting my raytracer over to the PSP. I got the to compile and link just fine, yadda yadda yadda, but it doesn't work with either PSPE or my PSP. Here's my batch file:
| Quote: | psp-g++ -fno-exceptions -o out -Wl,-q,-Ttext,8900000,-O0 -g -x c++ <list of files> -x assembler startup.s
outpatch |
I'm using the most recent PSP toolkit, and the only code that the PSP (should) run is:
| Quote: | pgInit();
pgScreenFrame(2,0);
pgFillvram(0);
while(1){} |
Er... any ideas? I get error 800200D9 when I run it on the PSP (1.5 firmware, transferred with KXploit Tool 0.3). |
|
| Back to top |
|
 |
crazyc
Joined: 17 Jun 2005 Posts: 410
|
Posted: Sat Jun 25, 2005 11:40 am Post subject: |
|
|
| Try, instead of "-Ttext,8900000", "--section-start,.init=8900000". |
|
| Back to top |
|
 |
Hippo
Joined: 25 Jun 2005 Posts: 19
|
Posted: Sat Jun 25, 2005 3:57 pm Post subject: |
|
|
| That together with the tips in this thread got it to work. Thanks! :D |
|
| Back to top |
|
 |
gettothechoppa
Joined: 26 Jun 2005 Posts: 1
|
Posted: Mon Jun 27, 2005 4:27 am Post subject: |
|
|
| what did you do to get it to work i am having the same problems |
|
| Back to top |
|
 |
|