I downloaded a copy of arm toolchain from a site called SourceyCode in the form of tar file, and after untaring the content I see the following in the bin directory readme file:
The executables in this directory are for internal use by the compiler
and may not operate correctly when used directly. This directory
should not be placed on your PATH. Instead, you should use the
executables in ../../bin/ and place that directory on your PATH.
I went to ../../bin/ and I found the file that I need, but I can not issue the command I want to run the assember. Please see below:
I am in the following directory:
Code:
@ubuntu:~/toolchains/arm-2014.05/arm-none-eabi/bin$ cd ../../bin
@ubuntu:~/toolchains/arm-2014.05/bin$ ls
add.s arm-none-eabi-g++ arm-none-eabi-nm
arm-none-eabi-addr2line arm-none-eabi-gcc arm-none-eabi-objcopy
arm-none-eabi-ar arm-none-eabi-gcc-4.8.3 arm-none-eabi-objdump
arm-none-eabi-as arm-none-eabi-gcc-ar arm-none-eabi-ranlib
arm-none-eabi-c++ arm-none-eabi-gcc-nm arm-none-eabi-readelf
arm-none-eabi-c++filt arm-none-eabi-gcc-ranlib arm-none-eabi-size
arm-none-eabi-cpp arm-none-eabi-gcov arm-none-eabi-strings
arm-none-eabi-cs arm-none-eabi-gdb arm-none-eabi-strip
arm-none-eabi-cs-daemon arm-none-eabi-gprof cache
arm-none-eabi-elfedit arm-none-eabi-ld
And I am trying to issue:
Code:
arm-none-eabi-as -o add.o add.s
But I get the following error:
Code:
bash: /home/blahblah/toolchains/arm-2014.05/bin/arm-none-eabi-as: No such file or directory
Why can I not issue the above command?
Bookmarks