public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "lul at isep dot ipp.pt" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/98154] New: avr-size (avr-binutils v2.35) don't' accept --formart=avr
Date: Sat, 05 Dec 2020 13:05:03 +0000	[thread overview]
Message-ID: <bug-98154-4@http.gcc.gnu.org/bugzilla/> (raw)

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98154

            Bug ID: 98154
           Summary: avr-size (avr-binutils v2.35) don't' accept
                    --formart=avr
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: lul at isep dot ipp.pt
  Target Milestone: ---

Using avr eclipse plugin in fedora 33, when compile the following error appear:

 Invoking: Print Size
avr-size --format=avr --mcu=atmega2560 BlinkTest1.elf
avr-size: invalid argument to --format: avr
Usage: avr-size [option(s)] [file(s)]
 Displays the sizes of sections inside binary files
 If no input file(s) are specified, a.out is assumed
 The options are:
  -A|-B|-C|-G  --format={sysv|berkeley|avr|gnu}  Select output style (default
is berkeley)
            --mcu=<avrmcu>            MCU name for AVR format only
  -o|-d|-x  --radix={8|10|16}         Display numbers in octal, decimal or hex
  -t        --totals                  Display the total sizes (Berkeley only)
            --common                  Display total size for *COM* syms
            --target=<bfdname>        Set the binary file format
Finished building: sizedummy
            @<file>                   Read options from <file>
  -h        --help                    Display this information
  -v        --version                 Display the program's version

avr-size: supported targets: elf32-avr elf32-little elf32-big srec symbolsrec
verilog tekhex binary ihex plugin
make: [makefile:77: sizedummy] Error 1 (ignored)

if change make file to
avr-size -C --mcu=atmega2560 BlinkTest1.elf

it works correctly.

             reply	other threads:[~2020-12-05 13:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-05 13:05 lul at isep dot ipp.pt [this message]
2020-12-05 13:07 ` [Bug c/98154] " lul at isep dot ipp.pt
2020-12-05 13:58 ` redi at gcc dot gnu.org
2020-12-07  7:52 ` [Bug target/98154] " rguenth 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-98154-4@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).