> On Jul 24, 2015, at 3:57 PM, Michael Park <[email protected]> wrote:
> 
> Hi John,
> 
> I would first suggest trying CC="gcc" CXX="g++" ../configure, and if that 
> works, try to find out what which cc and which c++ return and find out what 
> they symlink to.
> I believe autotools uses cc and c++ rather than gcc and g++ by default, so I 
> think there's probably something funky going on there.

No, you explicitly tell autoconf to default to G++ 

        mesos.git jpeach$ grep AC_PROG_C configure.ac
        AC_PROG_CXX([g++])
        AC_PROG_CC([gcc])

IMHO the correct invocation is something like:
        AC_PROG_CXX([c++ g++ clang++])

since you should always default to the system default toolchain

J

Reply via email to