I would like to build a bare-metal project using KSDK 2.x and the g++ compiler. What steps do I need to take to tell KDS (or eclipse) that the toolchain that should be used for the entire project is not gcc, but g++. Ideally, I would like to be able to switch the compiler for the entire project from C to C++ (assuming this is possible).
I apologize if this is obvious, but my google searches have not yielded anything particularly clear. There are a myraid of blog posts related to older SDKs and different embedded RTOSes, but very little for a KSDK 2.x bare metal project.
Thanks in advance for any insight!
P.s. The device I am working with is a Kinetis K22 if that makes a difference.