GDB patches for AVR32
Note that if you download one of the patches below, you have to follow a quite complicated procedure in order to regenerate all the Makefiles, configure scripts and headers after applying the patch. If you download the pre-patched source, this has already been done for you.
Anyway, this procedure should get the tree prepared for building:
- Run autoconf in the top-level directory
- Run autoreconf in the bfd/ and opcodes/ subdirectories
- Run ./configure with your favorite options. You probably need to include at least --target=avr32-linux
- Run make configure-bfd
- Enter the bfd/ subdirectory and run make headers
Now, you should be able to do the usual
make and
make install to build and install the toolchain.
The reason why these changes aren't included with the patch is that it would have increased its size by several megabytes, and the actual AVR32 changes would have been lost in the noise.
GDB 6.7.1.atmel.1.0.3