u-boot編譯過程中"uses hardware FP whereas u-boot uses software FP"

u-boot version             :2010.12


arm-linux-gcc version:4.5.1


problem                        :.....uses hardware FP whereas u-boot uses software FP...........


analysis                        :This error message means gcc uses hardware method in FP(Floating Point) while u-boot uses software.                     


solution                         :vi cpu/s3c64xx/config.mk  //要視具體情況 

                                        change PLATFORM_RELFLAGS+=-fno-common -ffixed-r8 -msoft-float

                                        into

                                        change PLATFORM_RELFLAGS+=-fno-common -ffixed-r8  //讓編譯器自動選

      

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章