AnsweredAssumed Answered

c compiler in the Linux 3.14.28 image on i.MX6Q

Question asked by jingyi zhang on Aug 5, 2015
Latest reply on Aug 7, 2015 by Biyong Sun

Hi,

 

I am new to Linux and just flashed the SD card with the Linux 3.14.28 BSP provided by Freescale,

but when I try to compile anything, it says I have no acceptable c compiler.

This is the output in terminal when I tried to compile a gstreamer plugin downloaded from Freescale.

 

sh-4.3# ./configure

checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking for a thread-safe mkdir -p... /bin/mkdir -p

checking for gawk... gawk

checking whether make sets $(MAKE)... yes

checking whether to enable maintainer-specific portions of Makefiles... no

checking for gcc... no

checking for cc... no

checking for cl.exe... no

configure: error: in `/home/root/gst-fsl-plugins-3.0.11':

configure: error: no acceptable C compiler found in $PATH

See `config.log' for more details

 

and this is my $PATH value

sh-4.3# echo $PATH

/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin

 

Do I need to compile my own gcc on a host machine and copy it over? Or compile the plugin on the host machine with cc and copy that over? Quite confused, any pointers would be greatly appreciated.

Outcomes