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

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

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
Removing ObjCopy and Linker Warnings   Message List  
Reply | Forward Message #14592 of 15019 |
I haven't seen this concisely placed anywhere else in this list so
I'll go ahead and post what I've learned over the last few days
going from GCC version 2.95 to 3.2.2.

The big one is warnings generated while using ObjCopy when
attempting to link a binary file into the build. There are 2 sets
of warnings I got:

Warning: binary.o does not support interworking, whereas game.elf
does. (during linking)
I've read a previous post stating that you need to use the interflip
tool to remedy this. It turns out that I was link my files using
elf32-little so the tool wasn't working. Switching over to elf32-
littlearm resolved this.

Warning: architecture UNKNOWN (during .obj creation)
This one was resolved by placing a -B arm on the command line which
tells the tool that yes indeed the data is binary.

In upgrading, some code standards changed as well. We use 0 length
arrays for ROM loads quite often. We did this with
u8 array[0] = {d,a,t,a};

The newer version doesn't like this, but to fix it, all you need to
do is remove the 0. That fixed a couple thousand warnings :)

That's it for now. Just consolidating some info into 1 place.
The -B trick I haven't seen anywhere else so this should be new.

Mike






Thu Nov 6, 2003 8:26 pm

miked0801
Offline Offline
Send Email Send Email

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

I haven't seen this concisely placed anywhere else in this list so I'll go ahead and post what I've learned over the last few days going from GCC version 2.95...
miked0801
Offline Send Email
Nov 7, 2003
1:53 pm
Advanced

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