S8KEAZ128 aeabi_idiv

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

S8KEAZ128 aeabi_idiv

2,041件の閲覧回数
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

ラベル(2)
3 返答(返信)

1,869件の閲覧回数
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,869件の閲覧回数
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,869件の閲覧回数
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 件の賞賛
返信