The current version of gcc is :
gcc (Clear Linux OS for Intel Architecture) 10.2.1 20210303 releases/gcc-10.2.0-895-g2939b35893
I need an older version 8 or 9 for compiling riscv-toolchain and openocd.
These versions are already installed.
I tryed to export CC and CCX with a new path before ./configure and make, but gcc remains on 10.2.1.
Any help would be appreciated.