Problems with ppc-elf-run?
Bill Gatliff
bgat@billgatliff.com
Thu Jul 3 05:01:00 GMT 2003
Guys:
I'm trying to run a "hello, world!" on ppc-elf-sim, without success:
[bgat@mars ]$ ppc-elf-gcc -o hello hello.c -lc -lsim
/home/bgat/install/bin/../lib/gcc-lib/ppc-elf/3.2.3/../../../../ppc-elf/bin/ld:
warning: cannot find entry symbol _start; defaulting to 01800074
[bgat@mars]$ ppc-elf-run hello
Hello, world!
hello: Caught signal 11 at address 0x0
The undefined reference to _start concerns me, as does the (apparent)
need to specify -lc on the command line.
Any suggestions? I think I'm just missing something stupid, it's late...
Regards,
b.g.
--
Bill Gatliff
Embedded GNU and Linux development, training
bgat@billgatliff.com
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list