5.7.1.24 Soft-float Option

The -msoft-float option indicates to the compiler that floating-point calculations in generated code should be emulated rather than performed by the hardware floating-point unit (FPU). A varient of the library that does not use hardware floating-point is also selected for link time.

This option does not typically need to be specified, as the compiler will use an appropriate library and generate suitable floating-point code based on information provided by the Device Family Pack associated with the selected device.