Don Ingram wrote:
> 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.
>
> Cheers
>
> Don
>
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 direct ories 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 directoryMessage
Re: [AVR-Chat] Is there a recommended way of dealing with updates & different versions of avr-libc in WinAVR - sorted
2005-11-20 by Don Ingram
Attachments
- No local attachments were found for this message.