Its easier to just add the newer version of gcc/g++ compilers to PATH - and icc will pick it up [without requiring -gcc-toolchain option]
export PATH=/location/of/newer/g++/bin:$PATH ./configure ... make ... Satish On Tue, 8 Aug 2023, Victor Eijkhout wrote: > Maybe an option for specifying the explicit location of gcc version? The > intel compiler has a “-gcc-toolchain” option for that. > > https://www.intel.com/content/www/us/en/docs/dpcpp-cpp-compiler/developer-guide-reference/2023-0/gcc-toolchain.html > > Victor. > > > >
