http://forums.qj.net/psp-development-fo ... n-gdc.html
I got everything to install okay, but when I tried to use functions from graphics.c/.h, using the tutorial here:
http://forums.qj.net/psp-development-fo ... ost2184931
I got various errors, some are shown here:
Code: Select all
/usr/local/pspdev/lib/gcc/psp/4.1.0/../../../../psp/lib/libgphobos.a(cbridge_stdio.o): In function `_d_gnu_cbridge_init_stdio':
../../../libphobos/gcc/cbridge_stdio.c:29: relocation truncated to fit: R_MIPS_GPREL16 against `_d_gnu_cbridge_stderr'
../../../libphobos/gcc/cbridge_stdio.c:27: relocation truncated to fit: R_MIPS_GPREL16 against `_d_gnu_cbridge_stdin'
../../../libphobos/gcc/cbridge_stdio.c:30: relocation truncated to fit: R_MIPS_GPREL16 against `_d_gnu_cbridge_stdout'
collect2: ld returned 1 exit status
make: *** [HelloPspInD.elf] Error 1
So, this Makefile line:
Code: Select all
CFLAGS = -O2 -G0 -Wall
Code: Select all
CFLAGS = -O2 -Wall
So, is the -G0 flag important, or is it okay for me to compile everything without it?