Isso me diz que existe um arquivo chamado arm-uclinuxeabi-gcc
no diretório atual:
manuel@manuel-VirtualBox:~/linux-cortexm-1.12.4/tools/arm-2010q1/bin$ ls -l
total 16808
-rwxr-xr-x 1 manuel manuel 547548 Apr 14 2010 arm-uclinuxeabi-addr2line
-rwxr-xr-x 2 manuel manuel 572276 Apr 14 2010 arm-uclinuxeabi-ar
-rwxr-xr-x 2 manuel manuel 990268 Apr 14 2010 arm-uclinuxeabi-as
-rwxr-xr-x 2 manuel manuel 207668 Apr 14 2010 arm-uclinuxeabi-c++
-rwxr-xr-x 1 manuel manuel 547324 Apr 14 2010 arm-uclinuxeabi-c++filt
-rwxr-xr-x 1 manuel manuel 206548 Apr 14 2010 arm-uclinuxeabi-cpp
-rwxr-xr-x 1 manuel manuel 547152 Apr 14 2010 arm-uclinuxeabi-elf2flt
-rwxr-xr-x 1 manuel manuel 76172 Apr 14 2010 arm-uclinuxeabi-flthdr
-rwxr-xr-x 2 manuel manuel 207668 Apr 14 2010 arm-uclinuxeabi-g++
-rwxr-xr-x 2 manuel manuel 205140 Apr 14 2010 arm-uclinuxeabi-gcc
-rwxr-xr-x 2 manuel manuel 205140 Apr 14 2010 arm-uclinuxeabi-gcc-4.4.1
-rwxr-xr-x 1 manuel manuel 26760 Apr 14 2010 arm-uclinuxeabi-gcov
-rwxr-xr-x 1 manuel manuel 3051052 Apr 14 2010 arm-uclinuxeabi-gdb
-rwxr-xr-x 1 manuel manuel 3051052 Apr 14 2010 arm-uclinuxeabi-gdbtui
-rwxr-xr-x 1 manuel manuel 607360 Apr 14 2010 arm-uclinuxeabi-gprof
-rwxr-xr-x 1 manuel manuel 28628 Apr 14 2010 arm-uclinuxeabi-ld
-rwxr-xr-x 2 manuel manuel 958404 Apr 14 2010 arm-uclinuxeabi-ld.real
-rwxr-xr-x 2 manuel manuel 556092 Apr 14 2010 arm-uclinuxeabi-nm
-rwxr-xr-x 2 manuel manuel 705268 Apr 14 2010 arm-uclinuxeabi-objcopy
-rwxr-xr-x 2 manuel manuel 836092 Apr 14 2010 arm-uclinuxeabi-objdump
-rwxr-xr-x 2 manuel manuel 572308 Apr 14 2010 arm-uclinuxeabi-ranlib
-rwxr-xr-x 1 manuel manuel 308072 Apr 14 2010 arm-uclinuxeabi-readelf
-rwxr-xr-x 1 manuel manuel 551680 Apr 14 2010 arm-uclinuxeabi-size
-rwxr-xr-x 1 manuel manuel 346704 Apr 14 2010 arm-uclinuxeabi-sprite
-rwxr-xr-x 1 manuel manuel 547516 Apr 14 2010 arm-uclinuxeabi-strings
-rwxr-xr-x 2 manuel manuel 705268 Apr 14 2010 arm-uclinuxeabi-strip
No entanto, quando estou tentando executá-lo, o bash me diz que esse arquivo não existe:
manuel@manuel-VirtualBox:~/linux-cortexm-1.12.4/tools/arm-2010q1/bin$ ./arm-uclinuxeabi-gcc --version
bash: ./arm-uclinuxeabi-gcc: No such file or directory
manuel@manuel-VirtualBox:~/linux-cortexm-1.12.4/tools/arm-2010q1/bin$
Alguém pode me dizer o que está acontecendo aqui? Eu não tenho ideia.
1
manuel@manuel-VirtualBox:~/linux-cortexm-1.12.4/tools/arm-2010q1/bin$ uname -a
Linux manuel-VirtualBox 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
2
manuel@manuel-VirtualBox:~/linux-cortexm-1.12.4/tools/arm-2010q1/bin$ file ./arm-uclinuxeabi-gcc
./arm-uclinuxeabi-gcc: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.5, stripped
3
manuel@manuel-VirtualBox:~/linux-cortexm-1.12.4/tools/arm-2010q1/bin$ ldd ./arm-uclinuxeabi-gcc
not a dynamic executable