This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problems with ppc-elf-run?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]