cc/gcc: Set CXX_FOR_BUILD for bare metal and canadian build.
>From 4.8, g++ is used as the default compiler to build the toolchain.
Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>
Message-Id: <CACgzC7B-LQvAw3hOYhBA7b7g0H1WtH20gqXM=Y=YFO4FrnZKWQ@mail.gmail.com>
Patchwork-Id: 243590
1 This is a somewhat ordered TODO list:
5 - update versions for every tools...
7 - update and/or upgrade all samples
12 - update newlib (for enhanced bare metal)
13 - confirm existing implementation on targets other than AVR32
14 - try to make it generic, will help for uClibc++
18 - Cygwin target (needs newlib)
19 - so we can build toolchains that generate code for Windows/Cygwin
22 - so we can build toolchains that run natively under Windows/Cygwin
25 - so we can build toolchains that generate code for Windows/Win32
28 - so we can build toolchains that run natively under Windows/Win32
29 (without requiring Cygwin)
35 - check whether we can use newlib under uClinux (?)