成功解决u-boot编译过程中"uses hardware FP whereas u-boot uses software FP"
2010-04-08 13:33
555 查看
u-boot version :2010.3
arm-linux-gcc version:4.3.2
problem :.....uses hardware FP whereas u-boot uses software FP...........
analysis :This error message means gcc uses hardware method in FP(Floating Point) while u-boot uses software.So what we
should do is to change one of them.
solution :edit cpu/arm920t/config.mk
change PLATFORM_RELFLAGS+=-fno-common -ffixed-r8 -msoft-float
into
change PLATFORM_RELFLAGS+=-fno-common -ffixed-r8 -mhard-float
以上解决方案是我在应用时遇到的,在网上进行了相关搜索,很多网友说直接将上面加了颜色的部分去掉。但是,经过验证,该方法是无济于事的。
我想既然由于浮点数实现不一致,我们可以该u-boot里面的嘛。这么改之后发现确实可行,希望能帮助遇到同样问题的人。
我是一个学生,希望结识更多自学能力强,而且对嵌入式很有兴趣的同仁。有意请加:717107705.
祝好运!
以上可以随便转载~
arm-linux-gcc version:4.3.2
problem :.....uses hardware FP whereas u-boot uses software FP...........
analysis :This error message means gcc uses hardware method in FP(Floating Point) while u-boot uses software.So what we
should do is to change one of them.
solution :edit cpu/arm920t/config.mk
change PLATFORM_RELFLAGS+=-fno-common -ffixed-r8 -msoft-float
into
change PLATFORM_RELFLAGS+=-fno-common -ffixed-r8 -mhard-float
以上解决方案是我在应用时遇到的,在网上进行了相关搜索,很多网友说直接将上面加了颜色的部分去掉。但是,经过验证,该方法是无济于事的。
我想既然由于浮点数实现不一致,我们可以该u-boot里面的嘛。这么改之后发现确实可行,希望能帮助遇到同样问题的人。
我是一个学生,希望结识更多自学能力强,而且对嵌入式很有兴趣的同仁。有意请加:717107705.
祝好运!
以上可以随便转载~
相关文章推荐
- u-boot编译过程中"uses hardware FP whereas u-boot uses software FP"
- C++编译过程中"没有找到MFC80UD.DLL,因此这个程序未能启动.重新安装应用程序可能会修复此问题"? 的彻底解决
- vc2005编译过程中"没有找到MFC80UD.DLL,因此这个程序未能启动.重新安装应用程序可能会修复此问题"? 的彻底解决
- 解决ubuntu编译内核uImage出现问题"mkimage" command not found - U-Boot images will not be built问题
- 编译linux内核时出现"mkimage" command not found - U-Boot images will not be built错误的解决办法
- ++编译过程中"没有找到MFC80UD.DLL,因此这个程序未能启动.重新安装应用程序可能会修复此问题"? 的彻底解决
- 【转】C++编译过程中"没有找到MFC80UD.DLL,因此这个程序未能启动.重新安装应用程序可能会修复此问题"? 的彻底解决
- 解决内核编译时产生 "mkimage" command not found - U-Boot images will not be built 错误
- u-boot编译出错() whereas u-boot uses software FP
- : AH00436: No installed service named "Apache2.4". 错误解决过程记录
- driverstudio生成的项目在编译过程的"ntstrsafe.h"找不到问题的解决
- QT中添加Q_OBJECT时编译提示obj : error LNK2001: 无法解析的外部符号 "public: virtual struct QMetaObject const错误解决方法
- 编译"Objective-C基础教程" 工程时出错, SDK不匹配的解决办法
- Oracle10g安装过程中"无法确定主机的IP地址时产生该异常错误" :解决办法
- Oracle10g安装过程中"无法确定主机的IP地址时产生该异常错误" :解决办法
- VS2010编译时拿老版本的代码运行,出现"source code is different..."解决办法
- 解决gcc 编译时报错"undefined reference to 'main'" 问题
- 编译内核 mkimage" command not found - U-Boot images will not be buil
- keil新建工程及编译报错——invalid redeclaration of type name "s32" 的解决
- VMWare安装Vmtools编译不过,报"sh: line 1: 3815 段错误 ..."的错误的解决