floating-point with mpc834x in Linux

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

floating-point with mpc834x in Linux

432 次查看
rans
Senior Contributor I

Hello,

It seems that I can't use floating point in a linux application.

I checked the default configuration in the jernel build (from buildroot), and I see that PPC_FPU is selected.

Do I need to add sw emulation to kernel build ? What is missing for floating point support ?

Thank you,

Ran

0 项奖励
1 回复

358 次查看
Pavel
NXP Employee
NXP Employee

Check compilation option and compilation library for your application.

Freescale offers CodeWarrior compiler for the MPC83xx (http://www.freescale.com/tools/embedded-software-and-tools/software-development-tools/codewarrior-de...).

This compiler supports hardware and software floating point.

There is Linux GNU compiler for the MPC834x.


Have a great day,
Pavel

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

0 项奖励