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