S8KEAZ128 aeabi_idiv

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

S8KEAZ128 aeabi_idiv

2,067 次查看
enricoserretti
Contributor I

Hello all,

I'm working with S8KEAZ128 MCU and CodeWarrior tools with GCC. When i try to divide two integer I have errors about __aeabi_idiv() function missing. I suppose that I have to link some floating point libraries, but I don't know how to do this. Someone can help me ? Thanks.

Best regards,

Enrico Serretti

3 回复数

1,895 次查看
enricoserretti
Contributor I

Hi all,

sorry for delay in my reply. Something had gone wrong during CodeWarrior installation. I have reinstalled CodeWarrior and everything went ok.

Thanks and regards,

Enrico.

1,895 次查看
bobpaddock
Senior Contributor IV

Make sure the libgcc.a archive is in the path you specify in your Makefile.

If still have issue add -lm to the linker to scan the math library.

Do not install gcc in a path that has spaces.

0 项奖励
回复

1,895 次查看
Carlos_Mendoza
NXP Employee
NXP Employee

Hi Enrico,

Could you tell us which CodeWarrior version are you using? Also, can you attach a sample project so we can reproduce the issue?

Thanks in advance!

Best Regards,

Carlos Mendoza

Technical Support Engineer

0 项奖励
回复