You'll be installing a cross-compiler; the risc version needs to correspond to what the chip uses. So it will be riscv32i, elf, gcc.
I usually like to follow the clear instructions given by Claire Wolf for the picorv32 in
https://github.com/yosyshq/picorv32. Just note that the riscv version used by the VexRISC is riscv32i (not riscv32imc or other RISCV extensions, which can be supported by the picorv32).