#147756 - Leo28C - Thu Dec 27, 2007 9:05 am
Hello everyone!
I followed these instructions to build my dev environment under Linux:
http://linux.gbadev.org/gcc-gba/
I used the latest versions instead of the ones he used. Well, it all installed with minimum effort. I tried to compile his test program, it failed. Then I changed the CFLAGS to:
-Wall -marm -mcpu=arm7tdmi -nostartfiles crt0.o /home/leo/gbadev/arm-thumb-elf/lib/libc.a /home/leo/gbadev/lib/gcc/arm-thumb-elf/4.2.2/thumb/libgcc.a
and it compiled. Well, it runs on VBA, but on GBA (EZ-Flash IV Mini-SD) it crashes when I select the ROM, and on PSP (using gpSP emu) it displays the GameBoy logo, without the Nintendo part. (Something that shouldn't happen, I have no option set on the emu to display this logo, and none of the other games do it.)
Anyone know what to do? Thanks in advance!
I followed these instructions to build my dev environment under Linux:
http://linux.gbadev.org/gcc-gba/
I used the latest versions instead of the ones he used. Well, it all installed with minimum effort. I tried to compile his test program, it failed. Then I changed the CFLAGS to:
-Wall -marm -mcpu=arm7tdmi -nostartfiles crt0.o /home/leo/gbadev/arm-thumb-elf/lib/libc.a /home/leo/gbadev/lib/gcc/arm-thumb-elf/4.2.2/thumb/libgcc.a
and it compiled. Well, it runs on VBA, but on GBA (EZ-Flash IV Mini-SD) it crashes when I select the ROM, and on PSP (using gpSP emu) it displays the GameBoy logo, without the Nintendo part. (Something that shouldn't happen, I have no option set on the emu to display this logo, and none of the other games do it.)
Anyone know what to do? Thanks in advance!