Bewared of this tutorial that seems quite old and is probably not uptodate now. Note that if you want to use Eclipse, I'd suggest to take a look at this plugin: eclipse.baeyens.it I use it everyday (currently using 1.2.5.5 as I have not yet installed Arduino IDE 1.5).
– jfpoilpretMar 31 '14 at 16:34

@jfpoilpret Is that using the compiler shipped with the Arduino I DE? I actually decided not to use Arduino and go for full fledged C...
– Friend of KimApr 1 '14 at 14:32

Yes it uses the AVR tools that come installed with Arduino IDE. But you can do full-fledged C or C++ with it if you want as it does not perform default #includes like Arduino IDE.
– jfpoilpretApr 1 '14 at 14:39

@jfpoilpret Do you have access to strings and vectors?
– Friend of KimApr 1 '14 at 15:58

I haven't checked that but I'd rather stay away from STL and involved dynamic memory allocations for embedded development.
– jfpoilpretApr 1 '14 at 16:16

1 Answer
1

The m library is the "math" library. You have to link with it in most flavours of gnu compilers (it is typically not required in other, as it is included in the standard lib) when using functions and stuff from the header file "math.h".