#110625 - Dark Knight ez - Thu Nov 30, 2006 12:04 am
Hey everybody.
I had to upgrade from devkitpro v18 to v19b, and a couple of troubles have arisen so far. Probably mistakes on my part.
I hope you guys can help out.
The first trouble is the error when building my latest version of AmplituDS.
When it's "linking amplituds.arm7.elf" it gives me the following error(s):
No idea what's wrong. The compiled objects for ARM7 are just under 50 kb in size (and the .map file is 184 kb). I can't believe this would be too large, so it must be something other than size that is wrong, right?
Also, in the ARM7 code I never specificly specified something to be put in .bss or iwram or whatever, so it's not like I made a mistake there.
Second "trouble" is not that big.
It seems that by using this new version, I get one BIG mention of what object is compiled, with the entire (6/7-line) arm-eabi-g++ command displayed. This makes it hard to see 1) what is compiled and 2) what the errors/warnings are.
I'm used to only see a mention like "main.cpp", letting me know it is compiled to an object... no displaying of what is used to do so.
I'm guessing one can do this by fiddling with the Makefile?
And third... does anyone know why some registers are defined multiple times in libnds? Some are defined in both registers_alt.h and interrupts.h. It's giving me warnings (nothing to worry about of course, but definitely looks less clean). This was also the case with (the libnds that came with) v18 though.
Thanks in advance.
_________________
AmplituDS website
I had to upgrade from devkitpro v18 to v19b, and a couple of troubles have arisen so far. Probably mistakes on my part.
I hope you guys can help out.
The first trouble is the error when building my latest version of AmplituDS.
When it's "linking amplituds.arm7.elf" it gives me the following error(s):
Code: |
address 0x3810604 of [..]/amplituds.arm7.elf section .bss is not within region iwram
collect2: ld returned 1 exit status |
No idea what's wrong. The compiled objects for ARM7 are just under 50 kb in size (and the .map file is 184 kb). I can't believe this would be too large, so it must be something other than size that is wrong, right?
Also, in the ARM7 code I never specificly specified something to be put in .bss or iwram or whatever, so it's not like I made a mistake there.
Second "trouble" is not that big.
It seems that by using this new version, I get one BIG mention of what object is compiled, with the entire (6/7-line) arm-eabi-g++ command displayed. This makes it hard to see 1) what is compiled and 2) what the errors/warnings are.
I'm used to only see a mention like "main.cpp", letting me know it is compiled to an object... no displaying of what is used to do so.
I'm guessing one can do this by fiddling with the Makefile?
And third... does anyone know why some registers are defined multiple times in libnds? Some are defined in both registers_alt.h and interrupts.h. It's giving me warnings (nothing to worry about of course, but definitely looks less clean). This was also the case with (the libnds that came with) v18 though.
Thanks in advance.
_________________
AmplituDS website