Hi Kovesdi, I recommend using avr-g++ tool chain driver for all C++ code, including linking, since using avr-gcc or avr-ld may neglect some important C++ flags. Flags that change behavior such as not running the global constructors, for example. HTH, --Eljay