On 17/9/19 7:52 am, Joel Sherrill wrote: > I need to install that! In the mean time, I used the machine I test > odd new gcc versions on and this happened: > > -- Check for working CXX compiler: /usr/bin/c++ > -- Check for working CXX compiler: /usr/bin/c++ -- works > -- Detecting CXX compiler ABI info > -- Detecting CXX compiler ABI info - done > -- Detecting CXX compile features > -- Detecting CXX compile features - done > > $ type gcc > gcc is hashed (/home/joel/test-gcc/install-master/bin/gcc) > $ type c++ > c++ is /home/joel/test-gcc/install-master/bin/c++ > > It looks like something has hard-coded c++ to use /usr/bin which is not nice. >
I suspect you would need to see what cmake is doing to understand this. Try adding to the cmake command line 'CXX=/home/joel/test-gcc/install-master/bin/c++' CC=/home/joel/test-gcc/install-master/bin/cc'. Chris _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel