How to build Ltib with hard float

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to build Ltib with hard float

1,572 Views
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

Labels (1)
0 Kudos
Reply
4 Replies

1,238 Views
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 Kudos
Reply

1,238 Views
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 Kudos
Reply

1,238 Views
igorpadykov
NXP Employee
NXP Employee
0 Kudos
Reply

1,238 Views
zhenghuyu
Contributor I

Can you give me some more detail instrutions?

0 Kudos
Reply