Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
8 years ago

Cyclone V SOC FPGA: gcc not found with gcc-linaro-arm-linux-gnueabihf installed

I have followed the instruction here to setup toolchain https://rocketboards.org/foswiki/documentation/gitgettingstarted as below:


$ cd ~
$ wget https://launchpad.net/linaro-toolchain-binaries/trunk/2012.11/+download/gcc-linaro-arm-linux-gnueabihf-4.7-2012.11-20121123_linux.tar.bz2
$ tar xjf gcc-linaro-arm-linux-gnueabihf-4.7-2012.11-20121123_linux.tar.bz2
$ export CROSS_COMPILE=~/gcc-linaro-arm-linux-gnueabihf-4.7-2012.11-20121123_linux/bin/arm-linux-gnueabihf-

i have check the env var been set correctly with the CROSS_COMPILE.

However I still not able to compile any file.

It still always prompt out this error for everything I tried to install


/bin/sh: gcc: command not foundmake: ***  Error 127
make: ***  Error 2

Anyone encounter this before?

Is there any solution for this?

Thanks.