On Dienstag, 6. Februar 2007, Luit van Drongelen wrote:
> Hello,
>
> I just started using SDCC, and got nearly everything to work, eventually.
> But one thing still won't do what I want. I can't get the default libraries
> (like libc and math and libio) to work properly. I think I forgot to
> include something in the code initialisation. Current stuff in code:
>
> #pragma library math
> #include "math.h"
>
> Is there anything I should include with it?
>
You don't need to add that #pragma line yourself, its already included in the 
math.h header of the pic16 port.

my sdcc version (snapshot Dec. 2 2006) links with the math lib correctly when 
I include "math.h", what version are you using?


/Ernst

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to