Dear Maintainer, * What led up to the situation? Needed to lookup options for the "avr-gcc" command. Could not find a man page. As "gcc" has a companion package "gcc-doc", I looked for and could not find a package "gcc-avr-doc". Tried the "gcc" man page, but it was not helpful due different version levels. avr-gcc --version: avr-gcc (GCC) 5.4.0 gcc --version: gcc (Debian 12.2.0-14) 12.2.0 Specifically, I was looking for program optimization options. Tried "-Oz" from "gcc" man page, but it was not supported by "avr-gcc". This leads me to humbly request that the man for "avr-gcc" be built into an installable package. (Perhaps "gcc-avr-doc" ?) Any attention to this issue would be appreciated. Thanks!
the latest if possible.
$ avr-gcc --version
avr-gcc (GCC) 14.2.0
$ avr-gcc --help=optimizers
The following options control optimizations:
-O<number> Set optimization level to <number>.
-Ofast Optimize for speed disregarding exact
standards compliance.
-Og Optimize for debugging experience rather
than speed or size.
-Os Optimize for space rather than speed.
-Oz Optimize for space aggressively rather
than speed.
<...>
For a trivial example:
$ rm a.out
$ avr-gcc -mmcu=attiny1616 -Oz main.c
$ avr-size a.out
text data bss dec hex filename
210 0 0 210 d2 a.out
You may also wish to refer to /usr/share/doc/gcc-avr/README.Debian
Thanks
-Steve
the latest if possible.
$ avr-gcc --version
avr-gcc (GCC) 14.2.0
$ avr-gcc --help=optimizers
The following options control optimizations:
-O<number> Set optimization level to <number>.
-Ofast Optimize for speed disregarding exact
standards compliance.
-Og Optimize for debugging experience rather
than speed or size.
-Os Optimize for space rather than speed.
-Oz Optimize for space aggressively rather
than speed.
<...>
For a trivial example:
$ rm a.out
$ avr-gcc -mmcu=attiny1616 -Oz main.c
$ avr-size a.out
text data bss dec hex filename
210 0 0 210 d2 a.out
You may also wish to refer to /usr/share/doc/gcc-avr/README.Debian
Thanks
-Steve