Optimus
Member
Yep, I decided to get back to GP32 coding for a while ;P
0) What is EABI? What does E.A.B.I. stands for? What's the difference from the older devkits? And why things have doesn't work or have to be recompiled for EABI? Am I gonna gain someting by switching to the new devkit?
1) I installed devkitpro and it seemed cool. I tried to compile my old demo Led Blur. Then I have seen the old gamepark SDK I was using was EABI 0 and should be recompiled. Fortunatelly I downloaded http://www.distant-earth.com/gp32/GPSDK_EABI.rar
2) All ok till it had error because I also used CHN modplay and the libmodplay.a was compiled without EABI. I should recompile the lib again (I will return to this in 4)
3) I first removed the lines where I call and include modplay and -lmodplay from my makefile just to make sure that the rest compiles well. There was still a problem I don't know what it is:
....blah blah dirs/libc.a(syscalls.o): In function '_sbrk':
syscalls.c: undefined reference to 'end'
It's a problem having to do with gamepark SDK or something?
4) Also, I downloaded the latest CHN modplayer and tried to compile them with EABI too.
.../SDL_types.h: error: size of array 'SDL_dummy_enum' is negative
(does the new CHN modplay lib use SDL? Is it necessary in my project???)
I know this error happened to me once and all I needed to correct the problem was to remove a line in my makefile saying -short enum or something. But the makefile of the lib DOESN'T have this line. And now I wonder what to do?
HELP!
0) What is EABI? What does E.A.B.I. stands for? What's the difference from the older devkits? And why things have doesn't work or have to be recompiled for EABI? Am I gonna gain someting by switching to the new devkit?
1) I installed devkitpro and it seemed cool. I tried to compile my old demo Led Blur. Then I have seen the old gamepark SDK I was using was EABI 0 and should be recompiled. Fortunatelly I downloaded http://www.distant-earth.com/gp32/GPSDK_EABI.rar
2) All ok till it had error because I also used CHN modplay and the libmodplay.a was compiled without EABI. I should recompile the lib again (I will return to this in 4)
3) I first removed the lines where I call and include modplay and -lmodplay from my makefile just to make sure that the rest compiles well. There was still a problem I don't know what it is:
....blah blah dirs/libc.a(syscalls.o): In function '_sbrk':
syscalls.c: undefined reference to 'end'
It's a problem having to do with gamepark SDK or something?
4) Also, I downloaded the latest CHN modplayer and tried to compile them with EABI too.
.../SDL_types.h: error: size of array 'SDL_dummy_enum' is negative
(does the new CHN modplay lib use SDL? Is it necessary in my project???)
I know this error happened to me once and all I needed to correct the problem was to remove a line in my makefile saying -short enum or something. But the makefile of the lib DOESN'T have this line. And now I wonder what to do?
HELP!