#34616 - donpeppoe - Sat Jan 22, 2005 4:23 pm
In different tutorials i've seen different ways to compile an binary with devkitadv
and
the results of the binaries are not the same.
What is the correct way (which is compatible with GBA hardware)
any idea's? Thanks!
Code: |
gcc -o main.elf main.c -lm objcopy -O binary main.elf main.gba |
and
Code: |
gcc -c -O3 -mthumb -mthumb-interwork main.c -w gcc -mthumb -mthumb-interwork -o main.elf main.o -w objcopy -O binary main.elf main.gba |
the results of the binaries are not the same.
What is the correct way (which is compatible with GBA hardware)
any idea's? Thanks!