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

MacPorts noreply at macports.org
Tue Jun 5 15:04:30 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):

 Yes `avr-libc` is installed.  I panicked when I couldn't compile some old
 source with the new `avr-gcc` and blamed the compiler not the old code.  I
 should have run
 `find /opt/local -name crtatmega162.o` or `port provides` as you have
 done.  The problem was with my Makefile and the old build steps.  Reading
 `/opt/local/lib/gcc/avr/7.2.0/device-specs/specs-atmega162` gave me enough
 tips to get the code built.  Now to change over a few `Makefiles`...

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


More information about the macports-tickets mailing list