Search found 3 matches

by angus
Fri Jan 08, 2010 8:25 am
Forum: PSP Development
Topic: [SOLVED]Problem building with SDL
Replies: 2
Views: 1897

Thanks, but it wasn't that. I realised that i hadn't actually initialised SDL. Thanks anyway! All works now. For anyone else interested, i added an initialization statement at the top of my SDL_main() if &#40;SDL_Init &#40;SDL_INIT_VIDEO|SDL_INIT_AUDIO|SDL_INIT_JOYSTICK&#41; < 0&#41;...
by angus
Thu Jan 07, 2010 7:36 am
Forum: PSP Development
Topic: [SOLVED]Problem building with SDL
Replies: 2
Views: 1897

[SOLVED]Problem building with SDL

Hi, I'm working on porting bochs, but I'm running across a problem when it comes to building with SDL. My error is as follows Error /bin/sh ./libtool --mode=link psp-g++ -o bochs -g -Wall -G0 -O2 -I/usr/local/pspdev/psp/sdk/include -D_PSP_FW_VERSION=371 -specs=/usr/local/pspdev/psp/sdk/lib/prxspecs ...
by angus
Mon Jan 04, 2010 2:48 am
Forum: PSP Development
Topic: [FIXED]Linker Problem Query
Replies: 0
Views: 1249

[FIXED]Linker Problem Query

I'm getting quite a few relocation truncated to fit&#58; R_MIPS_GPREL16 against `__ctype_ptr' errors when compiling my code. Now, I've read that putting -G0 in the CFLAGS will stop this error, but it hasn't seemed to do much. Do i have to recompile the PSPSDK/PSPToolchain with CFLAGS = -G0 or sh...