[MacPorts] #56613: avr-gcc fails to compile elf file

MacPorts noreply at macports.org
Tue Jun 5 14:51:50 UTC 2018


#56613: avr-gcc fails to compile elf file
----------------------------+---------------------------------
  Reporter:  chrisjogorman  |      Owner:  (none)
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.5.2
Resolution:                 |   Keywords:  avr-gcc snowleopard
      Port:  avr-gcc        |
----------------------------+---------------------------------

Comment (by chrisjogorman):

 This can be closed as a bug with the old build steps.

 {{{
 avr-gcc -Wall -Os -DF_CPU=16000000 -mmcu=avr5 -D__AVR_ATmega162__
 -D__AVR_DEVICE_NAME__=atmega162 -c main.c -o main.o
 avr-gcc -Wall -Os -DF_CPU=16000000 -mmcu=avr5 -D__AVR_ATmega162__
 -D__AVR_DEVICE_NAME__=atmega162 -o main.elf main.o
 avrdude -c usbtiny -P usb -p m162 -U flash:w:main.hex:i
 }}}

 Builds and flashes a working binary.

-- 
Ticket URL: <https://trac.macports.org/ticket/56613#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list