zhemao / zhemao.github.com

Github pages page
http://zhemao.github.com
Other
4 stars 1 forks source link

Part II - Linaro toolchain problem #21

Closed jeffykay closed 9 years ago

jeffykay commented 9 years ago

Hi, Thanks for the tutorials. I'm using Arch Linux also. In Part II: The link to the Linaro tool chain leads to "Page not found". So I did: [ linux-socfpga]$ wget https://releases.linaro.org/14.06/components/toolchain/binaries/gcc-linaro-arm-linux-gnueabihf-4.9-2014.06_linux.tar.xz [linux-socfpga]$ tar xf gcc-linaro-arm-linux-gnueabihf-4.9-2014.06_linux.tar.xz --> I verifed the gcc-linaro-arm-linux-gnueabihf-4.9-2014.06_linux directory was produced <-- [linux-socfpga]$ nano ~/.bash_profile --> within nano, added: <-- export PATH=$PATH:/home/jeff/linux-socfpga/gcc-linaro-arm-linux-gnueabihf-4.9-2014.06_linux/bin [linux-socfpga]$ source ~/.bash_profile --> I verified bin subdirectory is in PATH<-- [linux-socfpga]$ arm-linux-gnueabihf-gcc --version -bash: /home/jeff/linux-socfpga/gcc-linaro-arm-linux-gnueabihf-4.9-2014.06_linux/bin/arm-linux-gnueabihf-gcc: No such file or directory

Even stranger to me, when I go to the "bin" subdirectory, I can see "arm-linux-gnueabihf-gcc", but when I run "arm-linux-gnueabihf-gcc --version" from within "bin", I still get "No such file or directory"

Any idea what is going wrong? THANKS.

jeffykay commented 9 years ago

Ah-ha! Found solution after 3 days (good grief): http://falstaff.agner.ch/2013/06/09/linaro-on-arch-linux/