Test for g++ when building the toolchain
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 17 Jul 2015 15:19:57 +0000 (11:19 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Fri, 24 Jul 2015 07:05:13 +0000 (03:05 -0400)
commiteea320675f606ce52094e74bb9e57e54518f2963
treebdb8ce84846fd2166bffc7e1f49a9f4af6023540
parent443f444d5efba89382139ead4da5791c95d4fcd1
Test for g++ when building the toolchain

It's possible to have gcc but not g++, resulting in an error like this
while making binutils:

...
checking for x86_64-unknown-linux-gnu-gcc... gcc
configure: error: in
`/home/brho/akaros/ros-kernel/tools/compilers/gcc-glibc/x86_64-ucb-akaros-binutils-builddir/gold':
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
checking for C compiler default output file name... yes
checking whether declaration is required for errno... yes
make[4]: *** [configure-gold] Error 1
make[4]: *** Waiting for unfinished jobs....
...
(many other lines)
...
tools/compilers/gcc-glibc/Makefile