Note: 1) host environment: Ubuntu10.102) Linux User: root1. install gcc-avr compiler 1.1 to start the "New Software Package Manager", enter "avr" in the search box, and choose to install three software packages: "binutils-avr", "avr-libc", and "gcc-avr", as shown in Figure 1-1. -1: Install gcc-avr compiler 1.2 on the new software package manager and run
Note:
1) host environment: Ubuntu 10.10
2) Linux User: root
1. Install the gcc-avr Compiler
1.1 start the new software package manager, enter "avr" in the search box, and select to install the three software packages: "binutils-avr", "avr-libc", and "gcc-avr", as shown in Figure 1-1.
-1: Install the gcc-avr compiler in the new software package manager.
1.2 after the installation is complete, run the command "avr-gcc-v" on the console to test the installation result, as shown in figure 1-2. If the gcc version can be output, the installation is successful.
-2: view the gcc-avr version.
2. Install the integrated development environment eclipse
2.1 Download eclipse
Log on to the following website: http://www.eclipse.org/downloads/, and select composer Eclipse IDE for C/C ++ Linux Developers, as shown in Figure 2-1.
-1: Download eclipse for C/C ++ Development
In the "Linux 32 Bit" link, enter the download page: http://www.eclipse.org/downloads/download.php? File =/technology/epp/downloads/release/indigo/SR2/eclipse-linuxtools-indigo-SR2-incubation-linux-gtk.tar.gz
On the download page, select an image address that is better connected to the local network to download the image. The default value is:[China] University of Science and Technology of China (http)
2.2 Installation Process
For details, please refer to the Ubuntu environment to build a Java Development Platform http://www.linuxidc.com/Linux/2010-06/26502.htm