angus
Joined: 04 Jan 2010 Posts: 3
|
Posted: Mon Jan 04, 2010 2:48 am Post subject: [FIXED]Linker Problem Query |
|
|
I'm getting quite a few
| Code: |
relocation truncated to fit: 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 should it work by just adding the flag to the makefile of the thing i am compiling? Or do i have to do both? Obviously i don't want to have to recompile the SDK/Toolchain if i don't have to.
Any help appreciated.
EDIT: Fixed. Stupid error, had not set the -G0 flag properly. |
|