Posted on:

Hello, I am using an NXP P89LPC922 with Eclipse and SDCC. I need some mathematical functions and so I want so include <math.h> but Eclipse is saying: unresolved inclusion. I tried to find something about that in the documentation of SDCC but there is not much written. Can anyone help me on how to get mathematical functions to work with the LPC922? Thanks in advance.
Posted on:

This has nothing to do with the SDCC compiler. Simply include math.h like... #include <math.h> and thats it.
Posted on:

Thanks, first include math.h was not working but I found the folder what its placed.