Okay, got the abuild process to work. The paths were incorrect for arduino-0022.
In agetpref.bat
change this:
REM ---------------------------------------------------------------------------
REM Verify that ARDUINO_PATH points to a valid Arduino-0011 installation...
set arduino_runtime=!arduino_path!\hardware\cores\arduino
to this:
REM ---------------------------------------------------------------------------
REM Verify that ARDUINO_PATH points to a valid Arduino-0011 installation...
REM set arduino_runtime=!arduino_path!\hardware\cores\arduino
set arduino_runtime=!arduino_path!\hardware\arduino\cores\arduino
change this:
REM ---------------------------------------------------------------------------
REM Make sure we can find cygwin1.dll and compiler/linker tools...
set path=!arduino_path!;!arduino_path!\tools\avr\bin;!path!
!abuild_report! set path to: !path!
to this:
REM ---------------------------------------------------------------------------
REM Make sure we can find cygwin1.dll and compiler/linker tools...
REM set path=!arduino_path!;!arduino_path!\tools\avr\bin;!path!
set path=!arduino_path!;!arduino_path!\hardware\tools\avr\bin;!path!
!abuild_report! set path to: !path!
Now I get a successful build of a bootloader file. Not sure how big it should be but it compiles to 1122 bytes. Does anyone know how big it should be? Should it be less than 1K? I am wondering if I need to figure out optimizations I need to turn on.