bad value (‘armv5’) for ‘

发布时间:2024-12-10 01:32

流行音乐也能增添活力,尝试一下Billie Eilish的《Bad Guy》 #生活乐趣# #生活日常# #音乐欣赏推荐#

cc1: error: bad value (armv5) for -march= switch

最新推荐文章于 2024-05-25 10:42:26 发布

缘起性本空 于 2020-10-16 17:50:55 发布

https://stackoverflow.com/questions/23871924/cc1-error-bad-value-armv5-for-march-switch?r=SearchResults

Asked 6 years, 4 months ago

Active 6 years, 4 months ago

Viewed 10k times

I am compiling u-boot for beagle bone black as per the steps mentioned on this link

http://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-Bootloader:U-Boot

and getting the following error.

cc1: error: bad value (armv5) for -march= switch

can anyone help me in finding the reason for this error? I guess this is because of gcc not supporting armv7-a still not sure.

thanks, sumit

cross-compilingu-bootbeagleboneblack

share  improve this question  follow 

If you type the exact command shown on eewiki.net page, there would be a problem if you do not have env var CC set. I prefer the following, it assumes you have reasonably current install of arm-linux-gnueabi-gcc as your cross toolchain (adjust if you have something different)

export CROSS_COMPILE=arm-linux-gnueabi-

export ARCH=arm

make am335x_evm_config

make

share  improve this answer  follow 

answered May 27 '14 at 4:14

2,2741313 silver badges1616 bronze badges

网址:bad value (‘armv5’) for ‘ https://www.yuejiaxmz.com/news/view/429761

相关内容

Attribute application@appComponentFactory value=(android
websocket @ServerEndpoint(value = “/websocket/{ip}”)详解
python 循环结构(for
502 Bad Gateway
PHP foreach的两种用法 as $key => $value
400 Bad Request
如图,四边形ABCD中,AB=BC=CD,∠ABC=90°,∠BCD=150°,求∠BAD的度数.
健康的生活英语作文(通用22篇)
asp.net 之Cookie的“Value”=“xxxxxxxxxx”部分无效解决方法
【每日生活】世界上最幸福的人的日常习惯(双语)

随便看看