http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49764
--- Comment #9 from _artem_ <artemeas at gmail dot com> 2011-07-16 19:54:28 UTC --- [_artem_@linux-void ~]$ avr-gcc -v Using built-in specs. COLLECT_GCC=avr-gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/avr/4.6.1/lto-wrapper Target: avr Configured with: ../configure --disable-libssp --disable-nls --enable-languages=c,c++ --infodir=/usr/share/info --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --prefix=/usr --target=avr --with-gnu-as --with-gnu-ld --with-as=/usr/bin/avr-as --with-ld=/usr/bin/avr-ld Thread model: single gcc version 4.6.1 (GCC) [_artem_@linux-void ~]$ I don't know how to compile that code with avr-gcc. I only compiled with gcc, but never with avr-gcc. [_artem_@linux-void ~]$ avr-gcc 1.c -o 2 [_artem_@linux-void ~]$ cat 2 ��6�����������6���=d(�D�D�D�D�D�D� D� D�D�D�D�D�d(�D�DDDD D"D$&{standard input}../../../libgcc/../gcc/config/avr/libgcc.S.symtab.strtab.shstrtab.text.stab.stabstrT(!|, '�=�00� H" (��,?��5>��>=��G��S��`t({(����(����`�����`��� `�#/`�6`�;`�.do_clear_bss_start.do_clear_bss_loop1.c__SREG____SP_H____SP_L____tmp_reg____zero_reg____trampolines_start_etext__data_load_end__trampolines_end__data_load_start__dtors_end__bss_end__do_clear_bss__eeprom_end__data_end__ctors_start__do_copy_data__bss_start__dtors_start__ctors_end_edata_end__data_start[_artem_@linux-void ~]$ So I don't know why I can't compile and upload to the microcontroller. p.s. when you don't have gcc-avr why are you then answering to my bug report?