AR# 68482

|

SDK - Zynq UltraScale+ MPSoC FPU ABI configuration (mfloat-abi)

描述

Configuring floating ABI through the mfloat-abi compiler option generates the following error when targeting ARMv8 AArch64 targets:

aarch64-none-elf-gcc: error: unrecognized command line option '-mfloat-abi=hard'

解决方案

According to GCC documentation, the AArch64 GCC compiler no longer supports the -mfloat-abi options.

https://gcc.gnu.org/onlinedocs/gcc/AArch64-Options.html

According to ARM's compiler documentation, the -mfloat-abi option is not valid with ARMv8 AArch64 targets.

AArch64 targets use hardware floating-point instructions and hardware floating-point linkage.

However, you can prevent the use of floating-point instructions or floating point registers for AArch64 targets with the -mcpu=name+nofp+nosimd option. 

Subsequent use of floating-point data types in this mode is unsupported.

http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0774b/chr1417451577871.html

链接问答记录

主要问答记录

Answer Number 问答标题 问题版本 已解决问题的版本
66297 SDK - 设计助手 N/A N/A
AR# 68482
日期 10/18/2018
状态 Active
Type 解决方案中心
器件
Tools
People Also Viewed