sparc elf
Jim Wilson
wilson@specifix.com
Mon Jun 12 21:11:00 GMT 2006
Niklaus wrote:
> when i executed a.out on sparc machine it segfaulted and dumped core.
On what kind of sparc machine? It sounds like you tried to run the code
on a sparc-solaris or sparc-linux machine, which won't work. sparc-elf
code can only be run on bare hardware.
Try building a cross gdb, and then using the sparc-elf-run simulator.
You can also try using the sparc-elf-gdb, but you will have to read the
docs to learn how to do it.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
More information about the Binutils
mailing list