public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "artemeas at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/49764] [gcc-avr] Compiling for Arduino is not working
Date: Sat, 16 Jul 2011 19:55:00 -0000	[thread overview]
Message-ID: <bug-49764-4-XUa7WJ1SPI@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-49764-4@http.gcc.gnu.org/bugzilla/>

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���\x10�����\x01�\x1d��6���\x01\x18=\x01d(\x12�D�\x02D�\x02\x02D�\x02\x04D�\x02\x06D�D�\x02
D�\x02
   D�\x02D�\x02\x10D�\x02\x12D�\x02\x14D�\x02\x16\x01d(\x12�\x18D�\x02\x18D\x03\x1aD\x01\x03\x1cD\x02\x03\x1eD\x04\x03 D\x06\x03"D\x03$\x03&{standard
input}../../../libgcc/../gcc/config/avr/libgcc.S.symtab.strtab.shstrtab.text.stab.stabstr^[\x01\x06T(\x02!\x01|,\x01\x03\x04
                                    '\x03�\x01=\x01\x11\x03�\x010\x01\x01\x020\x03�\x01\x06
                                                       \x04\x10    \x03\x10H\x01\x01\x03\x01\x03\x02\x03\x03\x01"\x01\x15
\x01(\x04��,?��5>��>=��G��S\x01��`\x10\x01t(\x10\x01{(\x10���\x10\x01�(\x10���\x10\x01�`�\x10\x01�\x18\x10\x01��\x10\x01�`�\x10\x01�\x10\x01�\x10\x01   
\x01`�\x10\x01\x15\x01\x10\x01#\x01\x10\x01/\x01`�\x10\x016\x01`�\x10\x01;\x01`�\x10\x01.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?


  parent reply	other threads:[~2011-07-16 19:55 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-16 16:44 [Bug target/49764] New: " artemeas at gmail dot com
2011-07-16 16:47 ` [Bug target/49764] " artemeas at gmail dot com
2011-07-16 17:26 ` redi at gcc dot gnu.org
2011-07-16 17:34 ` redi at gcc dot gnu.org
2011-07-16 17:57 ` artemeas at gmail dot com
2011-07-16 18:10 ` redi at gcc dot gnu.org
2011-07-16 18:13 ` redi at gcc dot gnu.org
2011-07-16 19:06 ` artemeas at gmail dot com
2011-07-16 19:36 ` redi at gcc dot gnu.org
2011-07-16 19:55 ` artemeas at gmail dot com [this message]
2011-07-16 20:26 ` redi at gcc dot gnu.org
2011-07-17  0:30 ` artemeas at gmail dot com
2011-07-17  9:55 ` redi at gcc dot gnu.org
2011-07-17  9:57 ` redi at gcc dot gnu.org
2011-07-17 10:03 ` redi at gcc dot gnu.org
2011-07-23 18:42 ` gjl at gcc dot gnu.org
2011-07-23 19:27 ` gjl at gcc dot gnu.org
2011-07-23 19:30 ` gjl at gcc dot gnu.org
2011-07-25 10:24 ` [Bug target/49764] [avr-g++] Rejects attribute progmem gjl at gcc dot gnu.org
2011-07-26 19:34 ` artemeas at gmail dot com
2011-07-27  1:19 ` redi at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-49764-4-XUa7WJ1SPI@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).