In my linux host I have a g++ compiler created with crosstool-ng
This is the g++ I want icpc to use, not the default one.
So I ran:
export SYSROOT= /my_toolchain/release/x86_64-unknown-linux-gnu/sysroot
The GXX_ROOT contains the g++ compiler: x86_64-unknown-linux-gnu-g++
But upon runnning the linker, it seems icpc still uses the default g++ installed in the host.
In my case, the host has no g++.
So I got the error:
Requires 'install path' setting gathered from g++
Can you please help ?