gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Beginners > Specs and Multiboot?

#151186 - Endres - Wed Feb 20, 2008 5:55 pm

Hello!
I'm Endres and first I have got two questions:

When I used the makefile (one of a tutorial) the error was:
Quote:
arm-agb-elf-gcc: gba_mb.specs: No such file or directory

It seems to be that the Specs files hadn't been installed...
But I think that I installed all of the Packages.
How can I fix this Problem?

The Second one is:

Yesterday I've built my own XBoo-Cable (That was fun ^^), but I don't know, how to make programs, which would work with it? Is that the specs Problem?

Oh, by the way, when you don't understand me, I'm German and my English is very bad, I think ^^"

Endres

#151189 - Cearn - Wed Feb 20, 2008 6:27 pm

Endres wrote:
Hello!
I'm Endres and first I have got two questions:

When I used the makefile (one of a tutorial) the error was:
Quote:
arm-agb-elf-gcc: gba_mb.specs: No such file or directory

It seems to be that the Specs files hadn't been installed...
But I think that I installed all of the Packages.
How can I fix this Problem?

arm-agb-elf- is the platform prefix used by devkitAdvance, which does support specs-files I believe.

devkitARM uses arm-eabi- (or arm-elf- in revisions 18 and lower). Now, before you change the prefix and run the makefile again, remove the old intermediary files with 'make clean'. You'll probably get nowhere when when trying to link objects files compiled by one toolchain by using the linker of another.

It's a little strange that you have arm-agb-elf-gcc in the makefile though ...

Endres wrote:

The Second one is:

Yesterday I've built my own XBoo-Cable (That was fun ^^), but I don't know, how to make programs, which would work with it? Is that the specs Problem?
In part, yes. devkitARM requires a specs variable to link correctly. A secondary problem here is that something went awry in devkitARM r21 regarding the linkscript causing a white-screen. Details + fixes can be found here. Finally, don't forget to fix the header of the binary.

#151190 - Endres - Wed Feb 20, 2008 6:37 pm

Thank you, but I've already found what I need:
Code:
int __gba_multiboot = 0;

This was the important problem because my Gameboy didn't start the game. I've forgot it ^^

#151195 - Dwedit - Wed Feb 20, 2008 8:37 pm

I'm sure people will recommend that you ditch Devkitadvance and start using the newer Devkitarm.
_________________
"We are merely sprites that dance at the beck and call of our button pressing overlord."