Problems with ppc-elf-run?
Kulpinski, Jay
Jay.Kulpinski@gd-ais.com
Thu Jul 3 12:21:00 GMT 2003
On Thursday 03 July 2003 01:01 am, Bill Gatliff wrote:
> 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...
>
ppc-elf-gcc -msim -o hello hello.c
>
> Regards,
>
>
> b.g.
------
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