gcc missing, where can i get it?

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

gcc missing, where can i get it?

496 Views
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

Tags (1)
0 Kudos
2 Replies

376 Views
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 Kudos

376 Views
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 Kudos