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?


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


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