Alternative g++ compiler


I need to set the alternative g++ and gcc compilers when building ROOT 5.17/08. I do it in the configure option like this: --with-cxx=/usr/bin/g++33 --with-gcc=/usr/bin/gcc33. The configure script runs without error messages. However, when I’m trying to build the system, it uses the alternative gcc but still the default g++ version. What might be the problem?

Oh, I’ve got it. I sould have also set the alternative linker: --with-ld=/usr/bin/g++33