gcc missing, where can i get it?

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

gcc missing, where can i get it?

941 次查看
Swamy
Contributor III

Hello,

I configured LTIB for IMX53 qucik start board, but I am missing GCC package.

$ which gcc
which: no gcc in (/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin)

Other informations....
$ which make
/usr/bin/make

$ uname -a
Linux freescale 2.6.35.3-744-g27fdf7b #6 PREEMPT Fri Sep 9 05:51:11 PDT 2011 arm
v7l GNU/Linux

Please suggest from where to get the gcc package for 2.6.35.3-744-g27fdf7b kernel for IMX53 board.

 

Thanks.

Swamy

标记 (1)
0 项奖励
回复
2 回复数

821 次查看
qiang_li-mpu_se
NXP Employee
NXP Employee

    If you are using the Ubuntu, you can run the command "sudo aptitude -y install gcc" to install the gcc.

    By the way, it seems you haven't read the LTIB document "ltib_build_host_setup.pdf", please check it for how to prepare the PC condition for LTIB compiling.

0 项奖励
回复

821 次查看
nishad_kamdar
Contributor IV

Hi,

I think what Mahadeva is referring to is including gcc not in the host but in the target system.

I too have a custom iMX6q board which has Linux ported on it. However when i try to compile any simple c code in my

linux , it says gcc command not found.

Can you tell me how i can include the gcc tool chain in the kernel or is there any cross compiler which i need to install in my compiler.

regards,

nishad

0 项奖励
回复