Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:linux:arch_avr_gcc [2012/03/02 06:36] – [Arch Linux and Xmega support in avr-gcc] alex | en:linux:arch_avr_gcc [2019/04/18 08:07] (current) – removed alex | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Arch Linux and Xmega support in avr-gcc ====== | ||
| - | Unfortunately, | ||
| - | |||
| - | The solution is to build the three packages from older sources, apply Atmel' | ||
| - | |||
| - | To build the packages, first download the modified PKGBUILDs: | ||
| - | |||
| - | * {{: | ||
| - | * {{: | ||
| - | * {{: | ||
| - | |||
| - | Tell pacman to ignore updates to these packages by adding the following to ''/ | ||
| - | |||
| - | < | ||
| - | # ignore specific avr packages | ||
| - | IgnorePkg = binutils-avr gcc-avr avr-libc | ||
| - | </ | ||
| - | |||
| - | Now, ensure the broken Arch packages are not installed: | ||
| - | |||
| - | < | ||
| - | # pacman -R avr-libc gcc-avr binutils-avr | ||
| - | </ | ||
| - | |||
| - | Finally, build and install the packages: | ||
| - | < | ||
| - | $ mkdir binutils-avr | ||
| - | $ cd binutils-avr | ||
| - | $ makepkg -sip ../ | ||
| - | $ cd .. | ||
| - | $ mkdir gcc-avr | ||
| - | $ cd gcc-avr | ||
| - | $ makepkg -sip ../ | ||
| - | $ cd .. | ||
| - | $ mkdir avr-libc | ||
| - | $ cd avr-libc | ||
| - | $ makepkg -sip ../ | ||
| - | </ | ||
| - | |||
| - | Finally, start coding for Xmega! | ||
| - | |||
| - | ===== Old PKGBUILDs ===== | ||
| - | |||
| - | * {{: | ||
| - | * {{: | ||
| - | * {{: | ||
| - | |||
| - | ~~DISCUSSION~~ | ||