[MacPorts] #17524: avr-gcc: update to current version

MacPorts noreply at macports.org
Sun Jan 23 15:23:37 PST 2011


#17524: avr-gcc: update to current version
-------------------------------+--------------------------------------------
 Reporter:  andi@…             |       Owner:  metamagix@…        
     Type:  update             |      Status:  new                
 Priority:  Normal             |   Milestone:                     
Component:  ports              |     Version:                     
 Keywords:                     |        Port:  avr-gcc            
-------------------------------+--------------------------------------------

Comment(by lars@…):

 I have attached two patches that can be used to update to gcc 4.5.2.

 == Installation ==

 {{{patch-avr-config-unknown-mcu.diff}}} patches gcc. It needs to go into
 {{{$(port dir avr-gcc)/files}}}. Something like this:

 {{{
 sudo cp ~/Downloads/patch-avr-config-unknown-mcu.diff $(port dir avr-
 gcc)/files
 }}}

 {{{patch-avr-gcc-update-452.diff}}} updates the portfile for gcc 4.5.2.
 Apply with something like:
 {{{
 cd $(port dir avr-gcc)
 patch -p0 < ~/Downloads/patch-avr-gcc-update-452.diff
 }}}

 == Background ==

 For the background of patch-avr-config-unknown-mcu.diff, see
 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45261.

 Basically, gcc doesn't return with an error if it encounters an unknown
 MCU. This breaks the configure step of avr-libc.

 == Caveats ==

 I have removed the other patches for avr-gcc without really understanding
 them. YMMV

-- 
Ticket URL: <https://trac.macports.org/ticket/17524#comment:10>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list