6993 views|0 replies

1903

Posts

0

Resources
The OP
 

When compiling uboot on Zedboard, it says "Your GCC is older than 6.0 and is not supported" [Copy link]

This error occurs because the official cross-compilation environment is a bit old. The solution is to re-make a cross-compilation environment or change /arch/arm/config.mk The specific changes are as follows # Only test once ifeq ($(CONFIG_$(SPL_)SYS_THUMB_BUILD),y) #archprepare: checkthumb checkgcc6 archprepare: checkthumb checkthumb: @if test "$(call cc-name)" = "gcc" -a \ "$(call cc-version)" -lt "0404"; then \ echo -n '*** Your GCC does not produce working '; \ echo 'binaries in THUMB mode.'; \ echo '*** Your board is configured for THUMB mode.'; \ false; \ fi #else #archprepare: checkgcc6 endif #checkgcc6:# @if test "$(call cc-name)" = "gcc" -a # "$(call cc-version)" -lt "0600"; then # echo '*** Your GCC is older than 6.0 and is not supported'; # false; # fi # compile and it will pass.


This post is from FPGA/CPLD
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list