AVR gcc C/C++ toolchain
Latest toolchain for AVR microcontrollers.
AVR gcc C/C++ debian package download
Download: avr-gcc-bri-9.1.0-all.deb (gcc 9.1.0, binutils 2.32.0, avr libc 2.0.0, gdb 8.3)
Download: avr-gcc-bri-8.3.0-all.deb (gcc 8.3.0, binutils 2.32.0, avr libc 2.0.0, gdb 8.3)
Download: avr-gcc-bri-7.4.0-all.deb (gcc 7.4.0, binutils 2.32.0, avr libc 2.0.0, gdb 8.3)
Download: avr-gcc-bri-6.5.0-all.deb (gcc 6.5.0, binutils 2.32.0, avr libc 2.0.0, gdb 8.3)
Download: avr-gcc-bri-5.5.0-all.deb (gcc 5.5.0, binutils 2.32.0, avr libc 2.0.0, gdb 8.3)
Download: avr-gcc-bri-4.9.4-all.deb (gcc 4.9.4, binutils 2.32.0, avr libc 2.0.0, gdb 8.3)
AVR gcc C/C++ toolchain build script
This is the build script used to build the AVR gcc toolchain. At the end of the build process a debian packages is created.
Download: AVR_gcc 2019-07-16.zip
Needed libraries
A C/C++ compiler, texinfo and the following libraries are needed for the build process: GMP, MPC und MPFR. You may install these by entering this command:
sudo apt install gcc g++ make libgmp-dev libmpc-dev libmpfr-dev texinfo
Build the toolchain
Hint: The needed source code archives are downloaded by the build script.
- Download AVR_gcc.zip and extract it.
- Open a console window and change the directory to AVR_gcc.
- enter ./make_toolchain.sh
- wait ...
- The file avr-gcc-bri-x.x.x-all.deb can be installed now.
Die build scripte
00_settings.sh | The build script settings (e.g. version numbers). |
01_make_binutils.sh | Binutils build script. |
02_make_gcc.sh | GCC build script. |
03_make_avr_libc.sh | avr libc build script. |
04_make_debian_package.sh | Debian packages build script. |
make_toolchain_clean.sh | This script is used to delete all temporary files. |
make_toolchain.sh | This script is used to build the complete toolchain. |
debian_package | Debian package files directory. |
sources | Source code archive directory (binutils, gcc, avr libc). |
install | Directory for the compiled toolchain. |
tmp | Directory for temporary files. |