Install ARM Toolchain on PC

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Install ARM Toolchain on PC

4,153 Views
imx7newbie
Contributor II

Hi,

There are 2 compilers used in IMX7(ARM Yocto Linux):

arm-poky-linux-gnueabi-gcc

arm-poky-linux-gnueabi-g++

When I build complete image by spending about 2 hours its already downloaded.

But I would like to know how to install this ARM tool chain(cross compiler) directly on PC(Ubuntu/CentOS) and use it as separate compiler in PC instead of with its Image as I mentioned above.

I tired as below but it ends up with error:

[root@localhost ~]# yum install gcc-arm-linux-gnueabihf Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile * base: centos.mirror.iphh.net * epel: ftp.cica.es * extras: centos.copahost.com * ius: archive.linux.duke.edu * updates: mirror.eu.oneandone.net No package gcc-arm-linux-gnueabihf available. Error: Nothing to do

and Its same for 

[root@localhost ~]# yum install g++-arm-linux-gnueabihf 

Reagrds

Labels (1)
0 Kudos
Reply
1 Reply

3,042 Views
mtx512
Contributor V

You need to install the correct package ie gcc-arm-linux-gnu .

0 Kudos
Reply