Getting C++ to work on ARM

Jay Monkman jtm at smoothsmoothie.com
Fri Oct 21 15:22:42 UTC 2005


I'm trying to run a C++ program on ARM. I suspect C++ has never worked on ARM in
RTEMS, but I'm not positive. I'm using a fairly recent checkout of the CVS HEAD
(about 2 weeks old).  I've tested this on Coldfire and it works fine, so I'm
pretty sure the problem lies within the ARM specfic code.

I'm running the iostream sample program on ARM, and it crashes. It dies
somewhere within
	std::cout << "\n\n*** HELLO WORLD TEST ***" << std::endl;

>From what I can tell _M_streambuf within the output stream is never getting set,
so later when something is sent to the stream, a NULL pointer get dereferenced
and BOOM!


Can anyone give me any pointers to how to start debugging this?

Thanks.



More information about the users mailing list