| A GNU Development Environment for the AVR Microcontroller | ||
|---|---|---|
| Prev | Chapter 1. Installing the GNU Tools | Next |
The AVR standard library archive used in this document is version 20020203. The archive can be obtained using the URL in Table 1-1. Download this file and place it in your working directory.
Before we can build the libraries, we need to unarchive the tarball.
% tar zxf avr-libc-20020203.tar.gz
% cd avr-libc-20020203Now simply build the project.
Note: At this point, the user can configure some library options, like setting whether the watchdog can be initialized through the linker hack.
% cd src
% make prefix=/usr/local/avrOnce the libraries have been built, you need to install them with the rest of the tools.
% make prefix=/usr/local/avr install