Problems with ppc-elf-run?
Bill Gatliff
bgat@billgatliff.com
Thu Jul 3 13:27:00 GMT 2003
Jay:
$ ppc-elf-g++ -msim -fno-rtti -fno-exceptions -o hello hello.cpp
$ ppc-elf-run hello
hello: Caught signal 11 at address 0x10016558
gcc-3.2.3 binutils-2.13.2 newlib-1.11.0 gdb-5.3
b.g.
Kulpinski, Jay wrote:
>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
>
>
--
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