We assume that the build environment will be a terminal-only Linux environment, in our case, Ubuntu Server. Linux is preferred because build tools are readily available (and we don't end up with a bootstrapping problem).
The strategy is as follows:
- Build
binutilsfor avr target and Linux host - Build
gccstage-1 bootstrapping compiler for avr target and Linux host - Using the stage 1 compiler, build
avr-libc - Build
gccfor avr target and Windows/Linux host