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

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

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
devkitadv bug... I think   Message List  
Reply | Forward Message #13209 of 15019 |
Re: devkitadv bug... I think

Hi all,
To update on my situation, I figured out that:

arm-agb-elf-gcc -nostartfiles -T lnkscript crt0.o -o test.elf main.c

generates an elf file without any warnings. So I'm telling the
compiler to not use the default crt0.o files and including my own by
specifying crt0.o right? I think this should be right now, if I
understand it correctly.

Joey

--- In gbadev@y..., Tom Badran <tb100@d...> wrote:
> I already answered this for you in a private email. The current
linux devkit
> that uses gcc 3.1 has some issues which i have been unable to track
down and
> fix. You need to supply your own crt0 and lnkscript and it will work
fine.
>
> On Sunday 21 Jul 2002 11:17 am, NighTiger wrote:
> > Hi guys,
> > whit the help of SlasherX and dovoto I find the problem of devkitadv.
> >
> > This's a test:
> >
> > I create a file main.c and put into
> >
> > int main()
> > {
> > return 0;
> > }
> >
> > then I compile it and return this errors
> >
> > ________________________________________________
> > gba@debian:~/dev/bin$ gcc main.c -o main.o
> >
> >
/usr/local/devkitadv/lib/gcc-lib/arm-agb-elf/3.1/../../../../arm-agb-elf/bi
> >n/ld: section .iwram [08000388 -> 0800044f] overlaps section .init
[08000374
> > -> 0800038f]
> >
/usr/local/devkitadv/lib/gcc-lib/arm-agb-elf/3.1/../../../../arm-agb-elf/li
> >b/crt0.o: In function `jump_intr':
> >
/usr/local/devkitadv/lib/gcc-lib/arm-agb-elf/3.1/../../../../arm-agb-elf/li
> >b/crt0.o(.iwram+0xc4): undefined reference to `IntrTable'
> > collect2: ld returned 1 exit status
>
> --
> Email: tb100@d... || Jabber: tombadran@j...
> Homepage: http://www.doc.ic.ac.uk/~tb100





Mon Nov 4, 2002 4:33 am

nanchaku
Online Now Online Now
Send Email Send Email

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

Hi guys, whit the help of SlasherX and dovoto I find the problem of devkitadv. This's a test: I create a file main.c and put into int main() { return 0; } then...
NighTiger
nightiger_spp
Offline Send Email
Jul 21, 2002
10:41 am

nope. I've just compiled empty main under devkitadv and everything was OK. int main(void) { return 0; } gcc -dumpversion says 3.0.2 bye, porneL -- 1200 603/200...
porneL
pornelkurna
Offline Send Email
Jul 21, 2002
5:17 pm

... This may be an obscure 'ld' bug. I have seen this before but wasn't able to narrow down the exact circumstances that cause it. ... I just added a FAQ for...
Jeff Frohwein
jfrohwei
Offline Send Email
Jul 21, 2002
5:17 pm

I already answered this for you in a private email. The current linux devkit that uses gcc 3.1 has some issues which i have been unable to track down and fix....
Tom Badran
tb100badran
Offline Send Email
Jul 21, 2002
5:17 pm

Hi, I am encountering a similar bug of overlapping sections: /usr/local/devkitadv/lib/gcc-lib/arm-agb-elf/3.1/../../../../arm-agb-elf/bin/ld: section .data...
nanchaku
Online Now Send Email
Nov 4, 2002
9:11 am

Hi all, To update on my situation, I figured out that: arm-agb-elf-gcc -nostartfiles -T lnkscript crt0.o -o test.elf main.c generates an elf file without any...
nanchaku
Online Now Send Email
Nov 4, 2002
9:12 am
Advanced

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