解决方法:
1.右键单击工程->properties->C/C++build->Setting->ARM v7 gcc compiler->Miscellaneous 把-mfloat-abi的值改成softfp;
2........................................................................................->ARM v7 gcc linker->Miscellaneous 把-mfloat-abi的值改成softfp;
3.在工程bsp包里的Makefile中同样把-mfloat-abi的值改成softfp。