Install ARM Toolchain on PC

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Install ARM Toolchain on PC

4,156 次查看
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

标签 (1)
0 项奖励
回复
1 回复

3,045 次查看
mtx512
Contributor V

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

0 项奖励
回复