Problems with ppc-elf-run?

Kulpinski, Jay Jay.Kulpinski@gd-ais.com
Thu Jul 3 13:25:00 GMT 2003


On Thursday 03 July 2003 09:21 am, Bill Gatliff wrote:
> Jay:
>
>
> See, I *knew* it was something stupid on my part!  :^)
>
> Now c works fine, but not c++:
>
> $ ppc-elf-gcc -msim -fno-rtti -fno-exceptions -o hello hello.cpp -lstdc++
> $ ppc-elf-run hello
> hello: Caught signal 11 at address 0x10016558
>
> Hmmm...
>
>
> b.g.
>

Bill,

Try g++ instead, without the -lstdc++:

    ppc-elf-g++ -msim -fno-rtti -fno-exceptions -o hello hello.cpp 

- Jay

------
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