This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

GCC compile on Keil5.24, got error:xxx use VFP register arguments, but xxx does not

Hi, Expert

For Keil5.24 GCC compiler, my project got VFP error: xxx uses VFP register arguments, but xxx does not.
Actually I added VFP related flags: -mcpu=cortex-m7 -mfpu=fpv5-d16 -mfloat-abi=hard -mthumb.
It always calls arm-none-eabi\lib\thumb\v7e-m\nofp libs while compile.

Another compiling environment:MinGW + Cmake +Gcc command prompt with same VFP flags:-mcpu=cortex-m7 -mfpu=fpv5-d16 -mfloat-abi=hard -mthumb
It always calls \arm-none-eabi\lib\thumb\v7e-m+dp\hard while compile and pass

What is the problem? or how can Keil call same compiler lib? 
Could you help give your suggestion?

Thanks a lot!
climber