How to build Ltib with hard float

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to build Ltib with hard float

1,132件の閲覧回数
zhenghuyu
Contributor I

when I build ltib with setting -mfloat-abi=hard  in config, I get the error msg: -mfloat-abi=soft and -mfloat-abi=hard may not be used together.

so how to build ltib with hard float

ラベル(1)
0 件の賞賛
4 返答(返信)

798件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi zhenghu

one can follow attached document from ltib note i.MX has not fpu, only neon.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛

798件の閲覧回数
zhenghuyu
Contributor I

I can not find where the flag  -mfloat-abi=soft has been set。I only set the c compile flag   -mfloat-abi=hard

and the u-boot builds successfully  but the kernel doesn't and show the error message

0 件の賞賛

798件の閲覧回数
igorpadykov
NXP Employee
NXP Employee
0 件の賞賛

798件の閲覧回数
zhenghuyu
Contributor I

Can you give me some more detail instrutions?

0 件の賞賛