编译器GCC ARM Embedded针对Cortex M0 and M3是否可以使用浮点数?编译选项上没有写。 下面的表格来自arm-none-eabi-gcc readme: ------------+--------------------------------------+--------------+ | ARM Core | Command Line Options | multilib | +------------+--------------------------------------+--------------+ | Cortex-M0+ | -mthumb -mcpu=cortex-m0plus | armv6-m | | Cortex-M0 |--------------------------------------| | | Cortex-M1 | -mthumb -mcpu=cortex-m0 | | | |--------------------------------------| | | | -mthumb -mcpu=cortex-m1 | | | |--------------------------------------| | | | -mthumb -march=armv6-m | | +------------+--------------------------------------+--------------+ | Cortex-M3 | -mthumb -mcpu=cortex-m3 | armv7-m | | |--------------------------------------| | | | -mthumb -march=armv7-m | | +------------+--------------------------------------+--------------+ |
评分
查看全部评分
确实如此.