This is the mail archive of the
mailing list for the binutils project.
Re: sparc elf
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