crossgcc: code wont run from ROM.
Peter Popov
ppopov@redcreek.com
Sat Apr 1 00:00:00 GMT 2000
> I just had a thought. Maybe I need to copy the initialised data section from
> ROM to RAM ?
> I know that the DiabData startup files do this and I'm pretty sure I haven't done
> this in my gcc startup files.
> Does this sound plausable ?
Sure, if you are not doing that, you'll have all sorts of problems.
Also, you mentioned that SDS does not support gcc's -g feature, so you
are debugging assembly code. I'm using gcc-2.95.2, binutils-2.91, and
newlib-1.8.2 with the SDS 7.5 debugger, and it works fine (MPC8xx
processor). The debugger understands the elf output file and I can
debug c source code (haven't tried c++).
Pete
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
More information about the crossgcc
mailing list