Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 5970

How to install "gcc-arm-linux-gnueabihf" specific version?

$
0
0

Am performing cross compilation on x86 and target platform is armhf. When i run commandapt-get install -y gcc-arm-linux* g++-arm-linux*, It installs 4.11.2.0 version and output is as below

g++-arm-linux-gnueabi is already the newest version (4:11.2.0-1ubuntu1). g++-arm-linux-gnueabihf is already the newest version (4:11.2.0-1ubuntu1).    gcc-arm-linux-gnueabi is already the newest version (4:11.2.0-1ubuntu1).    gcc-arm-linux-gnueabihf is already the newest version (4:11.2.0-1ubuntu1)

But i need 4.9.3.0 version. How to install 4.9.3.0 version in ubuntu command line??

Am using ubuntu 20.04 and performing cross compilation using focal apt list

my /etc/apt.source.list file is as below

echo "### Copying ARM sources to /etc/apt/sources.list ###"echo "deb [arch=amd64] http://archive.ubuntu.com/ubuntu focal main universe" >  /etc/apt/sources.listecho "deb [arch=armhf] http://ports.ubuntu.com/ubuntu-ports focal main universe" >>  /etc/apt/sources.listecho "deb-src http://archive.ubuntu.com/ubuntu focal main universe" >>  /etc/apt/sources.list

Viewing all articles
Browse latest Browse all 5970

Trending Articles



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