I'm not really an expert of linux, so i'm feeling a bit lost.
I'm running an Ubuntu 22.04.3 LTS image in WSL, as i need to cross-compile a program for an ARM linux pc using a Windows PC. That image was automagically installed by the Powershell command WSL.exe --install
and i'm fine with it.
I've been able to add the armhf
architecture, the gcc-arm-linux-gnueabihf
and to build my program.
Problem is that the version of GCC is 11 and the glibc is too new for the debian image of the ARM machine.
So i need to downgrade to GCC-10.
I can remove the GCC installed, but then?How do i install a gcc-arm-linux-gnueabihf
v10?