Can anyone suggest links/resources for sample project implementations of embedded projects using c++ or gcc.
There are many many many resources....the question is too broad. Do you have a particular embedded micro you are targetting?
different embedded apps have different concerns
- real time concerns?
- extremely limited memory / resources?
- OS? no OS?
- Security?
- Failsafe?
- Device Drivers?
Question is incomplete, you have to provide all information, like product summary, hardware you want to use. But I guess you are porting some linux kernel to some embedded device.
For application program, easiest is to cross compile your code from your local system for specific arch and then transfer the binary to your embedded product.
Many resources are target specific, so you will have to be more specific if you want a specific answer. However http://embedded.com/ is a good general resource, and depending on your geographical location, you may qualify for a free subscription to Embedded Systems Design or Embedded Systems Design Europe paper publications.
Apart from Atmel AVR, GCC is targetted for 16/32bit targets, and C++ is generally ambitious and unnecessary for 8 bit, so I am guessing we are considering 16/32bit targets?
You might also take a look at:
- Martin Thomas's ARM-Projects, including a GCC toolchain for Windows.
- http://embdev.net/ which includes an embedded GCC forum.
- Building Bare-Metal ARM Systems with GNU A description of bringing up a system using GCC with C and C++
- FreeRTOS a well respected and widely used open-source RTOS kernel
- eCos another open-source RTOS, but somewhat more than a scheduler kernel.