Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » AVR-GCC
  • » [avr-gcc-list] Is there a recommended way of dealing with updates & different versions of avr-libc in WinAVR - Sorted [RSS Feed]

#1 Nov. 20, 2005 23:25:16

Don I.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[avr-gcc-list] Is there a recommended way of dealing with updates & different versions of avr-libc in WinAVR - Sorted


Thanks to Joerg for getting Bingo to re-post this on the sticky list atavrfreaks.com. Freaks is down at present so I can't reference the original link.I re-posted it here so that it turns up in a search if someone else is stuck( another GNUuubie like me ;-). Surprising just how much time little things canwaste when getting up to speed on the system. Also probably surprising how inanesome of the questions probably appear to the seasoned hands...> Hi All,
>
> Is there a recommended way of dealing with updates & different versions of
> avr-libc in WinAVR?
>
> If there is a defined / simple "best technique" & if so could it be included
in
> a prominent position in the related documentation or FAQ.
>


According to Bingo at avrfreaks.com ...

1 : Backup/Copy your <WinAVR>/avr directory to a safe place ,
or at least the "lib and include" directories within the <WinAVR>/avr
directory as they are going to be overwritten (deleted) following this
procedure.


2: Unzip the avr-libc-bin-1.2.6.zip somewhere , it will make an
avr-libc-bin-1.2.6 directory that contains three directories named bin,lib
and include. The lib and include contains the new avr-libc (in lib) ,
and the corresponding header files (in include) , in bin is some kind of
manual.

3: MAKE sure you did step 1 !!!!!!!

4: In the <WinAVR>/avr directory , delete or move the two directories named lib
and include , so you will end up with just a bin directory.
You still need the bin directory , as that is where the avr tools and the
compiler is located.

5: Now copy the three directories from step 2 , into the <WinAVR>/avr
directory so you now have 3 directories within <WinAVR>/avr. You should have
bin , include and lib in there.

6: Copy the ldscripts directory located in your Backup/Copy" avr/lib directory,
to the new 1.2.6 avr/lib directory the ldscripts dir gets installed with
binutils , and is not a part of avr-libc , but is needed by the linker.

7: You are now done , installing the new avr-libc

8: You are urged to get the avr-libc documentation and read it.
Get it from the link in the top.

9: If you want to get back to the original avr-libc , then do step 4 , and
restore the files mentioned in step 1 ,into the <WinAVR>/avr directory



_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.orghttp://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Offline

#2 Nov. 21, 2005 04:56:12

Royce P.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[avr-gcc-list] Is there a recommended way of dealing with updates & different versions of avr-libc in WinAVR - Sorted


Hi all,

On Mon, 21 Nov 2005 04:52:25 +0530, Don Ingram <> wrote:According to Bingo at avrfreaks.com ...

1 : Backup/Copy your <WinAVR>/avr directory to a safe place ,or at least the "lib and include" directories within the<WinAVR>/avrdirectory as they are going to be overwritten (deleted) followingthisprocedure.


2: Unzip the avr-libc-bin-1.2.6.zip somewhere , it will make anavr-libc-bin-1.2.6 directory that contains three directories namedbin,liband include. The lib and include contains the new avr-libc (in lib),and the corresponding header files (in include) , in bin is somekind ofmanual.

3: MAKE sure you did step 1 !!!!!!!4: In the <WinAVR>/avr directory , delete or move the two directoriesnamed liband include , so you will end up with just a bin directory.You still need the bin directory , as that is where the avr toolsand thecompiler is located.

5: Now copy the three directories from step 2 , into the <WinAVR>/avr-- 3 directories ? I thought we had moved/deleted only 2 (lib & include).


Regards,

--Royce.
--
Using Opera's revolutionary e-mail client:http://www.opera.com/mail/_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.orghttp://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Offline

  • Root
  • » AVR-GCC
  • » [avr-gcc-list] Is there a recommended way of dealing with updates & different versions of avr-libc in WinAVR - Sorted [RSS Feed]

Board footer

Moderator control

Enjoy the 22nd of January
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support