S8KEAZ128 aeabi_idiv

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

S8KEAZ128 aeabi_idiv

601 Views
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 Replies

429 Views
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.

429 Views
bobpaddock
Senior Contributor III

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 Kudos

429 Views
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 Kudos