These are the tools that are currently used to build an AVR tool chain. This list may change, either the version of the tools, or the tools themselves, as improvements are made.

In the installer page "Repository Catalogues", select the "Download latest repository catalogues" radio button, and press the "Next" button

  • In the installer page "License Agreement", select the "I accept the agreement" radio button, and press the "Next" button

  • In the installer page "Select Components", be sure to select these items:

    • C compiler (default checked)

    • C++ compiler

    • Ada compiler

    • MinGW Developer Toolkit (which includes "MSYS Basic System").

  • Install.

  • Install Cygwin

    • Install everything, all users, UNIX line endings. This will take a *long* time. A fat internet pipe is highly recommended. It is also recommended that you download all to a directory first, and then install from that directory to your machine.

Note

GMP, MPFR, and MPC are required to build GCC.

GMP is a prequisite for building MPFR. Build GMP first.

MPFR is a prerequisite for building MPC. Build MPFR second.

  • Build GMP for MinGW

    • Latest Version

    • <http://gmplib.org/>

    • Build script: ./configure 2>&1 | tee gmp-configure.log make 2>&1 | tee gmp-make.log make check 2>&1 | tee gmp-make-check.log make install 2>&1 | tee gmp-make-install.log

    • GMP headers will be installed under /usr/local/include and library installed under /usr/local/lib.

  • Build MPFR for MinGW

    • Latest Version

    • <http://www.mpfr.org/>

    • Build script: ./configure --with-gmp=/usr/local --disable-shared 2>&1 | tee mpfr-configure.log make 2>&1 | tee mpfr-make.log make check 2>&1 | tee mpfr-make-check.log make install 2>&1 | tee mpfr-make-install.log

    • MPFR headers will be installed under /usr/local/include and library installed under /usr/local/lib.

  • Build MPC for MinGW

    • Latest Version

    • <http://www.multiprecision.org/>

    • Build script: ./configure --with-gmp=/usr/local --with-mpfr=/usr/local --disable-shared 2>&1 | tee mpfr-configure.log make 2>&1 | tee mpfr-make.log make check 2>&1 | tee mpfr-make-check.log make install 2>&1 | tee mpfr-make-install.log

    • MPFR headers will be installed under /usr/local/include and library installed under /usr/local/lib.

Note

Doxygen is required to build AVR-LibC documentation.

NetPBM is required to build graphics in the AVR-LibC documentation.

fig2dev is required to build graphics in the AVR-LibC documentation.

  • Install fig2dev

    • Version 3.2 patchlevel 5c

    • From WinFig 4.62: <http://www.schmidt-web-berlin.de/winfig/>

    • Download the zip file version of WinFig

    • Unzip the download file and install fig2dev.exe in a location of your choice, somewhere in the PATH.

    • You may have to unzip and install related DLL files for fig2dev. In the version above, you have to install QtCore4.dll and QtGui4.dll.

MikTeX is required to build various documentation.

Ghostscript is required to build various documentation.

  • Install Ghostscript

    • Version 9.00

    • <http://www.ghostscript.com>

    • Download and install.

    • In the \bin subdirectory of the installaion, copy gswin32c.exe to gs.exe.

  • Set the TEMP and TMP environment variables to c:\temp or to the short filename version. This helps to avoid NTVDM errors during building.