大家好,我下载的FriendlyARM-Tiny4412-DVD-20130813,按照开发板的手册里面的说明按照了Ubuntu 12.04.2,解压编译器arm-linux-gcc-4.5.1-v6-vfp-201203后,发现编译器是32位的,设置好环境变量PATH后,运行arm-linux-gcc -v后发现找不到这个路径,因为ubuntu是64位的,编译器是32位的,所以找不到:
mark@mark-HP-Compaq-Pro-6300-MT:~/work/friendlyarm/4412/android$ file /opt/FriendlyARM/toolschain/4.5.1/bin/*
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-linux-addr2line: symbolic link to `arm-none-linux-gnueabi-addr2line'
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-linux-ar: symbolic link to `arm-none-linux-gnueabi-ar'
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-linux-as: symbolic link to `arm-none-linux-gnueabi-as'
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-linux-c++: symbolic link to `arm-none-linux-gnueabi-c++'
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-linux-cc: symbolic link to `arm-none-linux-gnueabi-cc'
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-linux-c++filt: symbolic link to `arm-none-linux-gnueabi-c++filt'
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-linux-cpp: symbolic link to `arm-none-linux-gnueabi-cpp'
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-linux-g++: symbolic link to `arm-none-linux-gnueabi-g++'
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-linux-gcc: symbolic link to `arm-none-linux-gnueabi-gcc'
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-linux-gcc-4.5.1: symbolic link to `arm-none-linux-gnueabi-gcc-4.5.1'
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-linux-gccbug: symbolic link to `arm-none-linux-gnueabi-gccbug'
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-linux-gcov: symbolic link to `arm-none-linux-gnueabi-gcov'
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-linux-gprof: symbolic link to `arm-none-linux-gnueabi-gprof'
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-linux-ld: symbolic link to `arm-none-linux-gnueabi-ld'
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-linux-ldd: symbolic link to `arm-none-linux-gnueabi-ldd'
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-linux-nm: symbolic link to `arm-none-linux-gnueabi-nm'
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-linux-objcopy: symbolic link to `arm-none-linux-gnueabi-objcopy'
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-linux-objdump: symbolic link to `arm-none-linux-gnueabi-objdump'
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-linux-populate: symbolic link to `arm-none-linux-gnueabi-populate'
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-linux-ranlib: symbolic link to `arm-none-linux-gnueabi-ranlib'
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-linux-readelf: symbolic link to `arm-none-linux-gnueabi-readelf'
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-linux-size: symbolic link to `arm-none-linux-gnueabi-size'
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-linux-strings: symbolic link to `arm-none-linux-gnueabi-strings'
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-linux-strip: symbolic link to `arm-none-linux-gnueabi-strip'
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-none-linux-gnueabi-addr2line: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, BuildID[sha1]=0x87696654d41d5d53cdfde7d736f48bc172f54605, stripped
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-none-linux-gnueabi-ar: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, BuildID[sha1]=0xb2e07031c38659652a181130ba4a3df5acc9b106, stripped
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-none-linux-gnueabi-as: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, BuildID[sha1]=0x7c6739d27d76fb55a82bd9b6f799678e06a5b449, stripped
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-none-linux-gnueabi-c++: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, BuildID[sha1]=0x343655744acb460068deee9d0b1eabd35e042373, stripped
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-none-linux-gnueabi-cc: symbolic link to `arm-none-linux-gnueabi-gcc'
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-none-linux-gnueabi-c++filt: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, BuildID[sha1]=0x1d06f8c4d2bed1ef19e721cd2a26a50ce59ac40b, stripped
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-none-linux-gnueabi-cpp: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, BuildID[sha1]=0x3a859280eeda218c19ad6c9491f540516c9fc1f3, stripped
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-none-linux-gnueabi-g++: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, BuildID[sha1]=0x343655744acb460068deee9d0b1eabd35e042373, stripped
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-none-linux-gnueabi-gcc: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, BuildID[sha1]=0x887ed32d754fa668fce33bfb0ee90afb0e706374, stripped
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-none-linux-gnueabi-gcc-4.5.1: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, BuildID[sha1]=0x887ed32d754fa668fce33bfb0ee90afb0e706374, stripped
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-none-linux-gnueabi-gccbug: POSIX shell script, ASCII text executable, with very long lines
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-none-linux-gnueabi-gcov: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, BuildID[sha1]=0x679d819ae11248c236a205993c152a557510783c, stripped
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-none-linux-gnueabi-gprof: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, BuildID[sha1]=0x3a5bcda0de484c0e43743c5d2894936be5d8eec1, stripped
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-none-linux-gnueabi-ld: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, BuildID[sha1]=0x89ee06cfba85797e9af95bd714e9453c0ce98a2d, stripped
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-none-linux-gnueabi-ldd: Bourne-Again shell script, ASCII text executable
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-none-linux-gnueabi-nm: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, BuildID[sha1]=0xb91db4aaddbfd466f80ade9242430b29994a5ebf, stripped
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-none-linux-gnueabi-objcopy: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, BuildID[sha1]=0xa90b0bdfbc7b1b38f83c4d0e2e76db712f9da8f8, stripped
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-none-linux-gnueabi-objdump: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, BuildID[sha1]=0xf12a7d0bb66688fd843bab57f4358e10251275d2, stripped
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-none-linux-gnueabi-populate: POSIX shell script, ASCII text executable
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-none-linux-gnueabi-ranlib: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, BuildID[sha1]=0x98f9a84d81702d854716b90606c752e6c1286ce4, stripped
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-none-linux-gnueabi-readelf: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, BuildID[sha1]=0x0ed4ecec3c5d31250fe565feef2bb63b00675d09, stripped
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-none-linux-gnueabi-size: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, BuildID[sha1]=0x4e2072bb7c5b7a9df40e83c121102d74d7c09bbf, stripped
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-none-linux-gnueabi-strings: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, BuildID[sha1]=0xc77ffb47a4fabc11c799381bfab1b2b075ad8729, stripped
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-none-linux-gnueabi-strip: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, BuildID[sha1]=0xdcc12cb7231cd0cac759b88f90e446f606489efa, stripped
mark@mark-HP-Compaq-Pro-6300-MT:~/work/friendlyarm/4412/android$
mark@mark-HP-Compaq-Pro-6300-MT:~/work/friendlyarm/4412/android$ arm-linux-gcc -v
-bash: /opt/FriendlyARM/toolschain/4.5.1/bin/arm-linux-gcc: 没有那个文件或目录
mark@mark-HP-Compaq-Pro-6300-MT:~/work/friendlyarm/4412/android$ ls /opt/FriendlyARM/toolschain/4.5.1/bin/arm-linux-gcc
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-linux-gcc
mark@mark-HP-Compaq-Pro-6300-MT:~/work/friendlyarm/4412/android$
请问下这是怎么回事哦?