Hi Leo,
If I use file command to search it with the PATH. It showed up.
byang@byang-EP45T-UD3P:~$ file /opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-gcc
/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-gcc: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.0, stripped
But if I use file command without PATH. It showed error said Not such file or directory.
byang@byang-EP45T-UD3P:~$ file arm-none-linux-gnueabi-gcc
arm-none-linux-gnueabi-gcc: ERROR: cannot open `arm-none-linux-gnueabi-gcc' (No such file or directory)
I had "export PATH=/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/:$PATH" and I also edited the .bashrc file to add the PATH. But it still failed with No such file or directory error.
I wonder if you have any idea to fix this problem?