These are chat archives for elemental/chat

11th
Nov 2016
Andreas Noack
@andreasnoack
Nov 11 2016 01:53

Do you know why CMake is picking up the old system g++ when there is a newer g++ in the PATH, i.e.

-- The C compiler identification is GNU 4.4.7
-- The CXX compiler identification is GNU 4.4.7

but

[noack@node301 juliaintel]$ g++ --version
g++ (GCC) 4.8.2
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

?

Andreas Noack
@andreasnoack
Nov 11 2016 02:08
Okay. Figured that CMake prefers system compilers over what's in PATH. Was able to override by defining CC.