Search the web
Sign In
New User? Sign Up
gbadev
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
A question about Devkitadv5 beta3   Message List  
Reply | Forward Message #14510 of 15019 |

Hi,

I have a couple of questions about the latest incarnation of
devkitadv.

On our project, we're still using devkitadv 3(i think? gcc 3.0.2),
and it has served well up untli now.
I have got to a stage where the problem with pointers to member
functions and inteworking is getting very troublesome:
dereferencing a pointer to member function fails if the function is
compiled as thumb.

Q. is this fixed in the latest version?

If so :) is there a list anywhere of the changes - particularly to
system variables that the linkscript/crt0 uses... I tried to get
version5 to compile our project, but when i eventually sorted out all
the mingw environment problems, i got a stream of errors:

f:\devkitadv-r5-beta-3\BIN\..\lib\gcc-lib\arm-agb-elf\3.2.2
\..\..\..\..\arm-agb-elf\bin\ld.exe: section .iwram [08070af4
-> 080710f7] overlaps section .footer [08070af4 -> 08070aff]
f:\devkitadv-r5-beta-3\BIN\..\lib\gcc-lib\arm-agb-elf\3.2.2
\..\..\..\..\arm-agb-elf\lib\interwork\crt0.o: In function `_
_crt0_multiboot_start':
f:\devkitadv-r5-beta-3\BIN\..\lib\gcc-lib\arm-agb-elf\3.2.2
\..\..\..\..\arm-agb-elf\lib\interwork\crt0.o(.text+0xe0): un
defined reference to `__load_start_footer'
f:\devkitadv-r5-beta-3\BIN\..\lib\gcc-lib\arm-agb-elf\3.2.2
\..\..\..\..\arm-agb-elf\lib\interwork\crt0.o: In function `_
_crt0_reset':
f:\devkitadv-r5-beta-3\BIN\..\lib\gcc-lib\arm-agb-elf\3.2.2
\..\..\..\..\arm-agb-elf\lib\interwork\crt0.o(.text+0x1c0): u
ndefined reference to `__memmap_rom_start'
f:\devkitadv-r5-beta-3\BIN\..\lib\gcc-lib\arm-agb-elf\3.2.2
\..\..\..\..\arm-agb-elf\lib\interwork\crt0.o(.text+0x1d8): u
ndefined reference to `__appended_start'
f:\devkitadv-r5-beta-3\BIN\..\lib\gcc-lib\arm-agb-elf\3.2.2
\..\..\..\..\arm-agb-elf\lib\interwork\crt0.o(.text+0x1e4): u
ndefined reference to `__load_start_data'
f:\devkitadv-r5-beta-3\BIN\..\lib\gcc-lib\arm-agb-elf\3.2.2
\..\..\..\..\arm-agb-elf\lib\interwork\crt0.o(.text+0x1e8): u
ndefined reference to `__load_stop_data'
f:\devkitadv-r5-beta-3\BIN\..\lib\gcc-lib\arm-agb-elf\3.2.2
\..\..\..\..\arm-agb-elf\lib\interwork\crt0.o(.text+0x1f8): u
ndefined reference to `__load_start_ewram'
f:\devkitadv-r5-beta-3\BIN\..\lib\gcc-lib\arm-agb-elf\3.2.2
\..\..\..\..\arm-agb-elf\lib\interwork\crt0.o(.text+0x204): u
ndefined reference to `__load_start_iwram'
f:\devkitadv-r5-beta-3\BIN\..\lib\gcc-lib\arm-agb-elf\3.2.2
\..\..\..\..\arm-agb-elf\lib\interwork\crt0.o(.footer+0x0): u
ndefined reference to `__load_stop_appended'
f:\devkitadv-r5-beta-3\BIN\..\lib\gcc-lib\arm-agb-elf\3.2.2
\..\..\..\..\arm-agb-elf\lib\interwork\crt0.o(.footer+0x4): u
ndefined reference to `__load_start_appended'
f:\devkitadv-r5-beta-3\BIN\..\lib\gcc-lib\arm-agb-elf\3.2.2
\..\..\..\..\arm-agb-elf\lib\interwork\crt0.o(.footer+0x8): u
ndefined reference to `__load_stop_appended'
collect2: ld returned 1 exit status
make: *** [EOD_demo.elf] Error 1

cheers

Col





Wed Sep 3, 2003 10:33 am

colinraybrown
Offline Offline
Send Email Send Email

Forward
Message #14510 of 15019 |
Expand Messages Author Sort by Date

Hi, I have a couple of questions about the latest incarnation of devkitadv. On our project, we're still using devkitadv 3(i think? gcc 3.0.2), and it has...
Colin Brown
colinraybrown
Offline Send Email
Sep 3, 2003
6:15 pm

The crt0.S and link script are intimately related and you should not use one without the other. If you are porting a project which uses its own crt0.S, then...
Jason Wilkins
fenix@...
Send Email
Sep 3, 2003
7:46 pm

Hi Jason, I have been trying to use the custom linkscript and crt0 from the project - they are Jeff Frohweins ones I think there is a makefile issue - i have...
Colin Brown
colinraybrown
Offline Send Email
Sep 4, 2003
12:58 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help