[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting C++ to work on ARM



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.