Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I downloaded this toolchain:

arm-2013.11-33-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2

I extracted here: /cross and changed name as arm-none-linux-gnueabi-

after that i saw bin file like as :

$ ls arm-none-linux-gnueabi/bin
arm-none-linux-gnueabi-addr2line
arm-none-linux-gnueabi-ar
arm-none-linux-gnueabi-as
arm-none-linux-gnueabi-c++
arm-none-linux-gnueabi-c++filt
arm-none-linux-gnueabi-cpp
arm-none-linux-gnueabi-elfedit
arm-none-linux-gnueabi-g++
arm-none-linux-gnueabi-gcc  
....

After that I did path like as:

export PATH=$PATH:/cross/arm-none-linux-gnueabi/bin

There is no error message so far, but when I tried the compile a simple c codes:

$ arm-none-linux-gnueabi-gcc -O2 -Wall -Werror -o hello hello.c

I got this error:

arm-none-linux-gnueabi-gcc: command not found

I tried a lot of times but everytime I got nothing.

What is the problem?

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.