[U-Boot] gcc version error ?

Fabio Estevam festevam at gmail.com
Sun Jun 3 20:14:17 UTC 2018


On Sun, Jun 3, 2018 at 4:57 AM, Yuching Lee <y8765gd at gmail.com> wrote:
> I was following this step to create a u-boot image
>
> *https://wiki.archlinux.org/index.php/Banana_Pi#Install_basesystem_to_a_SD_card
> <https://wiki.archlinux.org/index.php/Banana_Pi#Install_basesystem_to_a_SD_card>*
>
> when I executed this line:
>
> *$ make -j4 ARCH=arm CROSS_COMPILE=arm-none-eabi-*
>
> I got this error message.
>
> **** Your GCC is older than 6.0 and is not supported*
> *arch/arm/config.mk:66 <http://config.mk:66>: recipe for target 'checkgcc6'
> failed*
> *make: *** [checkgcc6] Error 1*
>
>
> but my gcc is already above 6.0, why?
>
> *$ gcc --version*
> *gcc (Ubuntu 7.3.0-16ubuntu3~16.04.1) 7.3.0*

This is the GCC version that runs on your PC.

It seems your cross compiler GCC is older than 6.0.


More information about the U-Boot mailing list