Skip to content

FreeBSD 'ports' system

bombasticbob edited this page Nov 12, 2014 · 2 revisions

The FreeBSD 'ports' system contains ports for the avr compiler and tools as:

  devel/avr-gcc
  devel/avr-binutils
  devel/avr-libc

You should be able to copy the appropriate patches into the 'files' directory for each respective port from the appropriate location, so long as the compiler version matches (and no existing patch has already been added for the same purpose).

Based on the most current known ports (11/2014):

devel/avr-gcc: copy the following to devel/avr-gcc/files/
  gcc-4.8.3/patch-401-atxmega16E5

devel/avr-binutils: copy the following to devel/avr-binutils/files/
  binutils-2.24/patch-413-binutils-2.24-atxmegaD4E5

devel/avr-libc: copy the following to devel/avr-libc/files/
  libc-1.8.1/patch-100-avr-libc-1.8.1-atxmegae5
  libc-1.8.1/patch-101-avr-libc-1.8.1-atxmegae5-new-files
  libc-1.8.1/patch-102-avr-libc-1.8.1-atxmegae5-headers
  libc-1.8.1/patch-103-avr-libc-1.8.1-atxmegae5-iosym

then you can install normally by typing 'make clean; make; make deinstall; make reinstall' for each of these 3 ports, first avr-binutils, then avr-gcc, and finally avr-libc (doing this in the wrong order may require repeating the process).

Clone this wiki locally