Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2796

How to install an older version of GCC for armhf?

$
0
0

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?


Viewing all articles
Browse latest Browse all 2796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>