Hello all,
while compiling u-boot using following command
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-
got an error quoting older version of GCC usage, as shown in attached screenshot
but when i give path from gcc version greater than 6, using command shown below
make ARCH=arm CROSS_COMPILE=/home/ubuntu/Software_ToolChain/gcc-linaro-6.4.1-2017.11-i686-mingw32_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-
poped up an error as shown below
./scripts/binutils-version.sh: line 18: /home/ubuntu/Software_ToolChain/gcc-linaro-6.4.1-2017.11-i686-mingw32_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-as: No such file or directory
make: /home/ubuntu/Software_ToolChain/gcc-linaro-6.4.1-2017.11-i686-mingw32_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: Command not found
./scripts/gcc-version.sh: line 25: /home/ubuntu/Software_ToolChain/gcc-linaro-6.4.1-2017.11-i686-mingw32_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: No such file or directory
./scripts/gcc-version.sh: line 26: /home/ubuntu/Software_ToolChain/gcc-linaro-6.4.1-2017.11-i686-mingw32_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: No such file or directory
*** Your GCC does not produce working binaries in THUMB mode.
*** Your board is configured for THUMB mode.
arch/arm/config.mk:54: recipe for target 'checkthumb' failed
make: *** [checkthumb] Error 1
please help me on this
Regards,
Pradeep