C++ requires a more involved startup file than regular old C, as well as
a number of other functions (e.g. dynamic memory allocation to support
new). I have never seen a standalone package of functionality to
support C++ on ARM. If you wish to use C++, I would recommend using Linux.
Dan
--
Daniel Foisy
Virtual Cogs Embedded Systems Inc.
Unit 4, 5694 Highway 7 East, Suite 311
Markham, Ontario, Canada L3P 1B4
www.virtualcogs.com
416-238-2231
"Your future is modular"
Yes, you can access the uart as /dev/ttyS0. Assuming you don't need to
share the I2C resources with another task, it wouldn't take too long to
write that driver (or to use the existing GPIO driver) - essentially,
you can take the GPIO driver code and modify that appropriately, say
under a week or so. I've got an i.MX31 V4L driver for the camera that
works but am not sure how much effort it would be to port to the i.MX21.
Dan