cc1: error: bad value (armv5) for -march= switch【转】
本文转载自:https://stackoverflow.com/questions/23871924/cc1-error-bad-value-armv5-for-march-switch
up vote3down votefavorite
|
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.
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-compiling u-boot beagleboneblack
|
|||
add a comment
|
1 Answer
up vote3down voteaccepted
|
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)
|
cc1: error: bad value (armv5) for -march= switch【转】相关推荐
- 关于lib/asm-offsets.c:1:0: error: bad value (armv5) for -march= switch问题解决办法
关于lib/asm-offsets.c:1:0: error: bad value (armv5) for -march= switch解决办法 ti的am335x start ...
- Error C1189: #error: Please use the /MD switch for _AFXDLL builds(转)
原文转自 https://www.cnblogs.com/zwh0214/p/6048360.html 在VS 2013中编译程序时出现错误: 错误提示1: error C1189: #error : ...
- Ubuntu 编译时出现错误cc1: error: ‘-fcf-protection’ is not compatible with this target
ubuntu 20.04编译时报cc1: error: '-fcf-protection' is not compatible with this target错误, 原因: 由于ubuntu将-fc ...
- Visual Studio—— IntelliSense: #error 指令: Please use the /MD switch for _AFXDLL builds
在做MFC时遇到这个问题,解决方法如下: 修改设置:工程(Project)-> 属性(Properties)-> 配置属性(Configuration Properties)-> c ...
- 错误:cc1: error: unrecognized command line option “-m32”
操作系统:RHEL5.1-Server 编译器:gcc 4.1.2 工程:x264-snapshot-20120817-2245 问题:在编译安装 x264 时出现下列错误 解决方案:找到工程中Mak ...
- LINUX7-编译驱动文件时报错:cc1: error: code model kernel does not support PIC mode
修改makefile 即可,默认改为arm构架 或者使用 make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j16 gg@ubuntu:~/linux ...
- 我是穷人,可以不买开发板了吗?---QEMU 模拟arm系统
文章目录 序言 准备工作 QEMU开始 Linux内核 U-boot 的修改及编译 构建根文件系统 busybox配置安装 制作根文件系统 启动QEMU模拟arm开发板 出现的问题 结束语 序言 一直 ...
- uboot2014.10移植(一)
最新有点时间,所以想折腾点东西,于是拿起了几年前的TQ2440玩玩,下载了uboot2014.10版本,准备移植到板子上去,没想到折腾环境都折腾了一下午. 1.工具链安装 我的工具链直接用命令安装的: ...
- 关于makefile编译gcc程序的写法 简单只看4点就会了 芯片i5,S3C2440,LPC1759-58-56-54-52-51的makefile模版
1.选择哪个编译器CC.比如CC:=gcc 2.使用的cpu类型CFLAGS1,CFLAGS2.这个错了会有提示,我虚拟器就用corei7就OK cc1: error: bad value ('arm ...
最新文章
- 基于php编写的新闻类爬虫,插入WordPress数据库
- windows远程桌面管理工具下载_vnc viewer 64位下载,3步实现vnc viewer 64位下载
- 多元二次方程 python_Python 二次方程
- 在Linux下安装aws命令行操作
- 人工智能的突破需要颠覆图灵机吗?
- centos内核参数调优
- python excel 数据匹配实现vlookup功能_如何用python实现excel中的vlookup功能?
- 自然语言处理 —— 2.4 嵌入矩阵
- 关于类的sizeof问题
- String类型getBytes方法
- b区计算机211学校排名,考研B区院校排名
- PowerBI中常用的DAX函数
- Redis的那些事儿:关系型和非关系型数据库,非关系型数据库的类型,redis数据类型、编码格式、高性能、可以做什么、分布式锁失效的原因,string为采用sds数据类型,为什么是二进制安全的,
- showdown解析md文件
- ream完美转换XML、JSON 转载
- 项目实战|基于STM32的无刷电机开环控制
- 差点,参加中国平安保险集团
- 【机器人学习】三自由度康复机器人运动学分析()
- 面对金九银十你真的准备好了吗?
- 安卓手机超过30天短信恢复_免费恢复短信记录安卓(教你Android手机短信恢复技巧)...